Foxit PDF SDK
|
Public Member Functions | |
def | FillSignObject (other) |
Constructor, with another fill-sign object. More... | |
def | GenerateContent () |
Generate content for current fill-sign object. More... | |
def | GetRect () |
Get rectangle, in [PDF coordinate system] (). More... | |
def | GetType () |
Get fill-sign type. More... | |
def | IsEmpty () |
Check whether current object is empty or not. More... | |
def | Move (point, width, height, rotation) |
Move current fill-sign object. 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.
def FoxitPDFSDKPython3.FillSignObject.FillSignObject | ( | other | ) |
Constructor, with another fill-sign object.
Constructor.
[in] | other | Another fill-sign object. |
def FoxitPDFSDKPython3.FillSignObject.GenerateContent | ( | ) |
Generate content for current fill-sign object.
For fill-sign object with type FoxitPDFSDKPython3.FillSign.e_FillSignObjectTypeSignature or FoxitPDFSDKPython3.FillSign.e_FillSignObjectTypeInitialsSignature , function FoxitPDFSDKPython3.SignatureFillSignObject.SetBitmap should be called first.
def FoxitPDFSDKPython3.FillSignObject.GetRect | ( | ) |
Get rectangle, in [PDF coordinate system] ().
def FoxitPDFSDKPython3.FillSignObject.GetType | ( | ) |
Get fill-sign type.
def FoxitPDFSDKPython3.FillSignObject.IsEmpty | ( | ) |
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.
def FoxitPDFSDKPython3.FillSignObject.Move | ( | point, | |
width, | |||
height, | |||
rotation | |||
) |
Move current fill-sign object.
If to add a fill-sign object with type FoxitPDFSDKPython3.FillSign.e_FillSignObjectTypeCrossMark , FoxitPDFSDKPython3.FillSign.e_FillSignObjectTypeCheckMark , FoxitPDFSDKPython3.FillSign.e_FillSignObjectTypeLine or FoxitPDFSDKPython3.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 FoxitPDFSDKPython3.FillSign.e_FillSignObjectTypeLine , input height is useless and will be ignored.
This function does not support to move a fill-sign object with FoxitPDFSDKPython3.FillSign.e_FillSignObjectTypeSignature or FoxitPDFSDKPython3.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 rotation property information. Please refer to values starting from FoxitPDFSDKPython3.e_Rotation0 and this should be one of these values except FoxitPDFSDKPython3.e_RotationUnknown . |