SetFormFieldRotation
表单字段
描述
相对于页面逆时针设置表单字段的旋转角度
语法
Delphi
Function TPDFlib.SetFormFieldRotation(Index, Angle: Integer): Integer;
ActiveX
Function PDFlib::SetFormFieldRotation(Index As Long, Angle As Long) As Long
DLL
int DLSetFormFieldRotation(int InstanceID, int Index, int Angle);
参数
| Index | 要操作的表单字段索引。第一个表单字段的索引为 1 |
|---|---|
| Angle | 字段要旋转的角度,必须为以下值之一:0、90、180 或 270 |
返回值
| 0 | 找不到表单字段,或指定角度无效 |
|---|---|
| 1 | 指定表单字段的旋转已成功设置 |