CPDFPage class
Constructors
- CPDFPage(MethodChannel _channel, int pageIndex)
Properties
Methods
-
getAnnotations(
) → Future< List< CPDFAnnotation> > - Retrieves all annotations on the current page.
-
getRotation(
) → Future< int> - Get the rotation angle of the current page
-
getText(
CPDFTextRange range) → Future< String> - Retrieves a text snippet from the current PDF page based on the specified range.
-
getWidgets(
) → Future< List< CPDFWidget> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeAnnotation(
CPDFAnnotation annotation) → Future< bool> - Removes an annotation from the current page.
-
removeWidget(
CPDFWidget widget) → Future< bool> - Removes a widget from the current page.
-
setRotation(
int rotation) → Future< bool> -
Set the rotation angle of the current page.
Rotation on a page. Must be 0, 90, 180 or 270 (negative rotations will be "normalized" to one of 0, 90, 180 or 270).
Some PDF's have an inherent rotation and so -
rotationmay be non-zero when a PDF is first opened. example: -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited