PdfDocument class abstract
Constructors
- PdfDocument.new({required String documentId})
Properties
- documentId → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
exportPdf(
{DocumentSaveOptions? options}) → Future< Uint8List> - Exports the document as a PDF. options:DocumentSaveOptions The options to use when exporting the document. Returns a Uint8List containing the exported PDF data.
-
getFormField(
String fieldName) → Future< PdfFormField> - Returns the form field with the given name.
-
getFormFields(
) → Future< List< PdfFormField> > - Returns a list of all form fields in the document.
-
getPageInfo(
int pageIndex) → Future< PageInfo> - Returns the page info for the given page index. pageIndex The index of the page. This is a zero-based index.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited