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

Public 成员函数

 FillSignObject (FillSignObject other)
 构造函数,使用另一个填充签名对象。 更多...
 
 FillSignObject ()
 构造函数。
 
bool GenerateContent ()
 为当前填充签名对象生成内容。 更多...
 
RectF GetRect ()
 获取矩形,在中。 更多...
 
FillSign.FillSignObjectType GetType ()
 获取填充签名类型 更多...
 
bool IsEmpty ()
 检查当前对象是否为空。 更多...
 
void Move (PointF point, float width, float height, Rotation rotation)
 移动当前填充签名对象。 更多...
 

详细描述

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

构造及析构函数说明

◆ FillSignObject()

foxit.pdf.FillSignObject.FillSignObject ( FillSignObject  other)
inline

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

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

成员函数说明

◆ GenerateContent()

bool foxit.pdf.FillSignObject.GenerateContent ( )
inline

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

对于类型为 foxit.pdf.FillSign.FillSignObjectType.e_FillSignObjectTypeSignature foxit.pdf.FillSign.FillSignObjectType.e_FillSignObjectTypeInitialsSignature 的填充签名对象, 应该首先调用函数 SignatureFillSignObject.SetBitmap

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

◆ GetRect()

RectF foxit.pdf.FillSignObject.GetRect ( )
inline

获取矩形,在中。

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

◆ GetType()

FillSign.FillSignObjectType foxit.pdf.FillSignObject.GetType ( )
inline

获取填充签名类型

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

◆ IsEmpty()

bool foxit.pdf.FillSignObject.IsEmpty ( )
inline

检查当前对象是否为空。

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

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

◆ Move()

void foxit.pdf.FillSignObject.Move ( PointF  point,
float  width,
float  height,
Rotation  rotation 
)
inline

移动当前填充签名对象。

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