Foxit PDF SDK
foxit::pdf::FillSignObject类 参考
类 foxit::pdf::FillSignObject 继承关系图:
foxit::Base foxit::pdf::SignatureFillSignObject foxit::pdf::TextFillSignObject

Public 成员函数

 FillSignObject (const FillSignObject &other)
 构造函数,使用另一个填充签名对象。 更多...
 
 FillSignObject ()
 构造函数。
 
virtual ~FillSignObject ()
 析构函数。
 
bool GenerateContent ()
 为当前填充签名对象生成内容。 更多...
 
RectF GetRect () const
 获取矩形,在PDF坐标系中。 更多...
 
FillSign::FillSignObjectType GetType ()
 获取填充签名类型 更多...
 
bool IsEmpty () const
 检查当前对象是否为空。 更多...
 
void Move (const PointF &point, float width, float height, common::Rotation rotation=common::e_Rotation0)
 移动当前填充签名对象。 更多...
 
bool operator != (const FillSignObject &other) const
 不相等操作符。 更多...
 
FillSignObjectoperator= (const FillSignObject &other)
 赋值操作符。 更多...
 
bool operator== (const FillSignObject &other) const
 相等操作符。 更多...
 
- Public 成员函数 继承自 foxit::Base
FS_HANDLE Handle () const
 获取当前对象的句柄。 更多...
 

详细描述

FillSignObject 是所有类型填充签名对象的基类。 此类提供基本函数来获取类型、移动填充签名对象或为填充签名对象生成内容。

构造及析构函数说明

◆ FillSignObject()

foxit::pdf::FillSignObject::FillSignObject ( const FillSignObject other)

构造函数,使用另一个填充签名对象。

参数
[in]other另一个填充签名对象。

成员函数说明

◆ GenerateContent()

bool foxit::pdf::FillSignObject::GenerateContent ( )

为当前填充签名对象生成内容。

对于类型为 FillSign::e_FillSignObjectTypeSignatureFillSign::e_FillSignObjectTypeInitialsSignature 的填充签名对象, 应该首先调用函数 SignatureFillSignObject::SetBitmap

返回
true表示成功,false表示失败。

◆ GetRect()

RectF foxit::pdf::FillSignObject::GetRect ( ) const

获取矩形,在PDF坐标系中。

返回
填充签名对象矩形。 如果没有矩形信息,将返回所有值都为0的RectF对象。

◆ GetType()

FillSign::FillSignObjectType foxit::pdf::FillSignObject::GetType ( )

获取填充签名类型

返回
填充签名类型。请参考从 FillSign::e_FillSignObjectTypeText 开始的值, 这将是这些值中的一个。

◆ IsEmpty()

bool foxit::pdf::FillSignObject::IsEmpty ( ) const

检查当前对象是否为空。

当当前对象为空时,意味着当前对象是无用的。

返回
true表示当前对象为空,false表示不为空。

◆ Move()

void foxit::pdf::FillSignObject::Move ( const PointF point,
float  width,
float  height,
common::Rotation  rotation = common::e_Rotation0 
)

移动当前填充签名对象。

参数
[in]point当前填充签名对象的新左下角点,在PDF坐标系中。
[in]width当前填充签名对象的新宽度。
[in]height当前填充签名对象的新高度。
[in]rotation旋转状态信息。此旋转值包括视图旋转和页面旋转属性信息。 请参考从 common::e_Rotation0 开始的值, 这应该是这些值中的一个,除了 common::e_RotationUnknown
返回
无。

◆ operator !=()

bool foxit::pdf::FillSignObject::operator != ( const FillSignObject other) const

不相等操作符。

参数
[in]other另一个填充签名对象。此函数将检查当前对象是否不等于这个对象。
返回
true表示不相等,false表示相等。

◆ operator=()

FillSignObject& foxit::pdf::FillSignObject::operator= ( const FillSignObject other)

赋值操作符。

参数
[in]other另一个填充签名对象,其值将被赋值给当前对象。
返回
对当前对象本身的引用。

◆ operator==()

bool foxit::pdf::FillSignObject::operator== ( const FillSignObject other) const

相等操作符。

参数
[in]other另一个填充签名对象。此函数将检查当前对象是否等于这个对象。
返回
true表示相等,false表示不相等。