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

Public 成员函数

 FillSignObject (FillSignObject other)
 构造函数,使用另一个填充签名对象。 更多...
 
 FillSignObject ()
 构造函数。
 
synchronized void delete ()
 直接清除C++相关资源。 更多...
 
boolean generateContent () throws com.foxit.sdk.PDFException
 为当前填充签名对象生成内容。 更多...
 
RectF getRect () throws com.foxit.sdk.PDFException
 获取矩形,在中。 更多...
 
int getType () throws com.foxit.sdk.PDFException
 获取填充签名类型 更多...
 
boolean isEmpty ()
 检查当前对象是否为空。 更多...
 
void move (PointF point, float width, float height, int rotation) throws com.foxit.sdk.PDFException
 移动当前填充签名对象。 更多...
 
- Public 成员函数 继承自 com.foxit.sdk.common.Base
synchronized void delete ()
 直接清除C++相关资源。 更多...
 

详细描述

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

构造及析构函数说明

◆ FillSignObject()

com.foxit.sdk.pdf.FillSignObject.FillSignObject ( FillSignObject  other)

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

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

成员函数说明

◆ delete()

synchronized void com.foxit.sdk.pdf.FillSignObject.delete ( )

直接清除C++相关资源。

返回
无。
注解
一旦这个接口被调用,这个对象将不能再被使用。

◆ generateContent()

boolean com.foxit.sdk.pdf.FillSignObject.generateContent ( ) throws com.foxit.sdk.PDFException

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

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

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

◆ getRect()

RectF com.foxit.sdk.pdf.FillSignObject.getRect ( ) throws com.foxit.sdk.PDFException

获取矩形,在中。

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

◆ getType()

int com.foxit.sdk.pdf.FillSignObject.getType ( ) throws com.foxit.sdk.PDFException

获取填充签名类型

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

◆ isEmpty()

boolean com.foxit.sdk.pdf.FillSignObject.isEmpty ( )

检查当前对象是否为空。

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

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

◆ move()

void com.foxit.sdk.pdf.FillSignObject.move ( PointF  point,
float  width,
float  height,
int  rotation 
) throws com.foxit.sdk.PDFException

移动当前填充签名对象。

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