PdfViewerControllerIns class
- Inheritance
-
- Implemented types
-
Properties
-
annotationMode
↔ PdfAnnotationMode
-
Gets or sets a value indicating the type of annotation that should be drawn using UI interaction on the PDF pages.
getter/setter pairinherited
-
annotationSettings
↔ PdfAnnotationSettings
-
Gets or sets the default annotation settings.
getter/setter pairinherited
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
hasListeners
→ bool
-
Whether any listeners are currently registered.
no setterinherited
-
pageCount
→ int
-
Total page count of the document loaded in the
SfPdfViewer.
no setterinherited
-
pageNumber
→ int
-
Current page number displayed in the
SfPdfViewer.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
scrollOffset
→ Offset
-
The current scroll offset of the SfPdfViewer widget.
no setterinherited
-
zoomLevel
↔ double
-
Zoom level of a document in the
SfPdfViewer.
getter/setter pairinherited
Methods
-
addAnnotation(Annotation annotation)
→ void
-
Adds the given annotation to the page represented by the annotation’s PageNumber property..
inherited
-
addListener(VoidCallback listener)
→ void
-
Register a closure to be called when the object changes.
inherited
-
clearFormData({int pageNumber = 0})
→ void
-
Clears the form fields data in the PDF document.
inherited
-
clearSelection()
→ bool
-
Clears the text selection in
SfPdfViewer.
inherited
-
deselectAnnotation(Annotation annotation)
→ void
-
Deselects the given annotation.
inherited
-
dispose()
→ void
-
Discards any resources used by the object. After this is called, the
object is not in a usable state and should be discarded (calls to
addListener will throw after the object is disposed).
inherited
-
exportFormData({required DataFormat dataFormat})
→ List<int>
-
Export the form data with the specified
DataFormat and return the bytes
as list of int.
inherited
-
firstPage()
→ void
-
Navigates to the first page of a PDF document.
inherited
-
get(Token name)
→ Object?
-
override
-
getAnnotations()
→ List<Annotation>
-
Gets the list of annotations in the PDF.
inherited
-
getFormFields()
→ List<PdfFormField>
-
Gets the form fields data in the document.
inherited
-
importFormData(List<int> inputBytes, DataFormat dataFormat, [bool continueImportOnError = false])
→ void
-
Imports the form data with the specified
DataFormat.
inherited
-
jumpTo({double xOffset = 0.0, double yOffset = 0.0})
→ void
-
Jumps the scroll position of
SfPdfViewer to the specified offset value.
inherited
-
jumpToBookmark(PdfBookmark bookmark)
→ void
-
Navigates to the specified bookmark location in a PDF document.
inherited
-
jumpToPage(int pageNumber)
→ void
-
Navigates to the specified page number in a PDF document.
inherited
-
lastPage()
→ void
-
Navigates to the last page of a PDF document.
inherited
-
nextPage()
→ void
-
Navigates to the next page of a PDF document.
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners()
→ void
-
Call all the registered listeners.
inherited
-
previousPage()
→ void
-
Navigates to the previous page of a PDF document.
inherited
-
removeAllAnnotations({int pageNumber = 0})
→ void
-
Removes all annotations from the PDF document.
inherited
-
removeAnnotation(Annotation annotation)
→ void
-
Removes the given annotation from the page.
inherited
-
removeListener(VoidCallback listener)
→ void
-
Remove a previously registered closure from the list of closures that are
notified when the object changes.
inherited
-
saveDocument({PdfFlattenOption flattenOption = PdfFlattenOption.none})
→ Future<List<int>>
-
Saves the document and return the saved bytes as future list of int.
inherited
-
searchText(String searchText, {TextSearchOption? searchOption})
→ PdfTextSearchResult
-
Searches the given text in the document.
inherited
-
selectAnnotation(Annotation annotation)
→ void
-
Selects the given annotation.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited