Foxit PDF SDK
|
Public Member Functions | |
FillSignObject () | |
Constructor. | |
FillSignObject (const FillSignObject &other) | |
Constructor, with another fill-sign object. More... | |
virtual | ~FillSignObject () |
Destructor. | |
bool | GenerateContent () |
Generate content for current fill-sign object. More... | |
RectF | GetRect () const |
Get rectangle, in PDF coordinate system. More... | |
FillSign::FillSignObjectType | GetType () |
Get fill-sign type. More... | |
bool | IsEmpty () const |
Check whether current object is empty or not. More... | |
void | Move (const PointF &point, float width, float height, common::Rotation rotation=common::e_Rotation0) |
Move current fill-sign object. More... | |
bool | operator!= (const FillSignObject &other) const |
Not equal operator. More... | |
FillSignObject & | operator= (const FillSignObject &other) |
Assign operator. More... | |
bool | operator== (const FillSignObject &other) const |
Equal operator. More... | |
![]() | |
FS_HANDLE | Handle () const |
Get the handle of current 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.
foxit::pdf::FillSignObject::FillSignObject | ( | const FillSignObject & | other | ) |
Constructor, with another fill-sign object.
[in] | other | Another fill-sign object. |
bool foxit::pdf::FillSignObject::GenerateContent | ( | ) |
Generate content for current fill-sign object.
For fill-sign object with type FillSign::e_FillSignObjectTypeSignature or FillSign::e_FillSignObjectTypeInitialsSignature, function SignatureFillSignObject::SetBitmap should be called first.
RectF foxit::pdf::FillSignObject::GetRect | ( | ) | const |
Get rectangle, in PDF coordinate system.
FillSign::FillSignObjectType foxit::pdf::FillSignObject::GetType | ( | ) |
Get fill-sign type.
bool foxit::pdf::FillSignObject::IsEmpty | ( | ) | const |
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.
void foxit::pdf::FillSignObject::Move | ( | const PointF & | point, |
float | width, | ||
float | height, | ||
common::Rotation | rotation = common::e_Rotation0 |
||
) |
Move current fill-sign object.
[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 common::e_Rotation0 and this should be one of these values except common::e_RotationUnknown. |
bool foxit::pdf::FillSignObject::operator!= | ( | const FillSignObject & | other | ) | const |
Not equal operator.
[in] | other | Another fill-sign object. This function will check if current object is not equal to this one. |
FillSignObject& foxit::pdf::FillSignObject::operator= | ( | const FillSignObject & | other | ) |
Assign operator.
[in] | other | Another fill-sign object, whose value would be assigned to current object. |
bool foxit::pdf::FillSignObject::operator== | ( | const FillSignObject & | other | ) | const |
Equal operator.
[in] | other | Another fill-sign object. This function will check if current object is equal to this one. |