Foxit PDF SDK
|
Public Member Functions | |
FillSignObject (FillSignObject other) | |
Constructor, with another fill-sign object. More... | |
FillSignObject () | |
Constructor. | |
synchronized void | delete () |
Clean up related resources immediately. More... | |
boolean | generateContent () throws com.foxit.sdk.PDFException |
Generate content for current fill-sign object. More... | |
RectF | getRect () throws com.foxit.sdk.PDFException |
Get rectangle, in PDF coordinate system. More... | |
int | getType () throws com.foxit.sdk.PDFException |
Get fill-sign type. More... | |
boolean | isEmpty () |
Check whether current object is empty or not. More... | |
void | move (PointF point, float width, float height, int rotation) |
Move current fill-sign object. More... | |
![]() | |
synchronized void | delete () |
Clean up related resources immediately. More... | |
Class FillSignObject is the base class for all kinds of fill-sign object. This class offers base functions to get type, to move a fill-sign object or to generate content for a fill-sign object.
com.foxit.sdk.pdf.FillSignObject.FillSignObject | ( | FillSignObject | other | ) |
Constructor, with another fill-sign object.
[in] | other | Another fill-sign object. |
synchronized void com.foxit.sdk.pdf.FillSignObject.delete | ( | ) |
Clean up related resources immediately.
boolean com.foxit.sdk.pdf.FillSignObject.generateContent | ( | ) | throws com.foxit.sdk.PDFException |
Generate content for current fill-sign object.
For fill-sign object with type com.foxit.sdk.pdf.FillSign.e_FillSignObjectTypeSignature or com.foxit.sdk.pdf.FillSign.e_FillSignObjectTypeInitialsSignature , function SignatureFillSignObject.setBitmap should be called first.
RectF com.foxit.sdk.pdf.FillSignObject.getRect | ( | ) | throws com.foxit.sdk.PDFException |
Get rectangle, in PDF coordinate system.
int com.foxit.sdk.pdf.FillSignObject.getType | ( | ) | throws com.foxit.sdk.PDFException |
Get fill-sign type.
boolean com.foxit.sdk.pdf.FillSignObject.isEmpty | ( | ) |
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.
void com.foxit.sdk.pdf.FillSignObject.move | ( | PointF | point, |
float | width, | ||
float | height, | ||
int | rotation | ||
) |
Move current fill-sign object.
If to add a fill-sign object with type com.foxit.sdk.pdf.FillSign.e_FillSignObjectTypeCrossMark , com.foxit.sdk.pdf.FillSign.e_FillSignObjectTypeCheckMark , com.foxit.sdk.pdf.FillSign.e_FillSignObjectTypeLine or com.foxit.sdk.pdf.FillSign.e_FillSignObjectTypeDot , the bigger value of input width and height will be used as both width and height as the moving result.
If to move a fill-sign object with type com.foxit.sdk.pdf.FillSign.e_FillSignObjectTypeLine , input height is useless and will be ignored.
This function does not support to move a fill-sign object with type com.foxit.sdk.pdf.FillSign.e_FillSignObjectTypeText , com.foxit.sdk.pdf.FillSign.e_FillSignObjectTypeSignature or com.foxit.sdk.pdf.FillSign.e_FillSignObjectTypeInitialsSignature . For this case, exception will be thrown.
[in] | point | New left-bottom point for current fill-sign object, in PDF coordinate system. |
[in] | width | New width for current fill-sign object. |
[in] | height | New height for current fill-sign object. |
[in] | rotation | Rotation status information. This rotation value includes the view rotation and page ratation property information. Please refer to values starting from com.foxit.sdk.common.Constants.e_Rotation0 and this should be one of these values except com.foxit.sdk.common.Constants.e_RotationUnknown . |