Foxit PDF SDK
FoxitPDFSDKPython3.FillSignObject Class Reference
Inheritance diagram for FoxitPDFSDKPython3.FillSignObject:
FoxitPDFSDKPython3.Base FoxitPDFSDKPython3.SignatureFillSignObject FoxitPDFSDKPython3.TextFillSignObject

Public Member Functions

def FillSignObject ()
 Constructor.

 
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...
 

Detailed Description

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.

Member Function Documentation

◆ GenerateContent()

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.

Returns
true means success, while false means failure.

◆ GetRect()

def FoxitPDFSDKPython3.FillSignObject.GetRect ( )

Get rectangle, in [PDF coordinate system] ().

Returns
Fill-sign object rectangle. If there is no rectangle information, a RectF object with all 0 values would be returned.

◆ GetType()

def FoxitPDFSDKPython3.FillSignObject.GetType ( )

Get fill-sign type.

Returns
Fill-sign type. Please refer to values starting from FoxitPDFSDKPython3.FillSign.e_FillSignObjectTypeText and this would be one of these values.

◆ IsEmpty()

def FoxitPDFSDKPython3.FillSignObject.IsEmpty ( )

Check whether current object is empty or not.

When the current object is empty, that means current object is useless.

Returns
true means current object is empty, while false means not.

◆ Move()

def FoxitPDFSDKPython3.FillSignObject.Move (   point,
  width,
  height,
  rotation 
)

Move current fill-sign object.


Parameters
[in]pointNew left-bottom point for current fill-sign object, in [PDF coordinate system] ().
[in]widthNew width for current fill-sign object.
[in]heightNew height for current fill-sign object.
[in]rotationRotation 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 .
Returns
None.