SetFormFieldSignatureImage
图像处理、表单字段、安全与签名
描述
将签名表单字段的可视外观设置为使用指定图像
语法
Delphi
Function TPDFlib.SetFormFieldSignatureImage(Index, ImageID, Options: Integer): Integer;
ActiveX
Function PDFlib::SetFormFieldSignatureImage(Index As Long, ImageID As Long, Options As Long) As Long
DLL
int DLSetFormFieldSignatureImage(int InstanceID, int Index, int ImageID, int Options);
参数
| Index | 要操作的签名表单字段索引。第一个表单字段的索引为 1 |
|---|---|
| ImageID | 由 SelectedImage 或 GetImageID 函数返回的有效图像 ID |
| Options | 0 = 图像在两个方向上拉伸以填满字段大小,不进行任何旋转 |
返回值
| 0 | 该表单字段不是签名字段、Index 参数超出范围,或 ImageID 参数无效 |
|---|---|
| 1 | Success |