GetFormFieldBound
表单字段
描述
返回指定表单字段的边界框
语法
Delphi
Function TPDFlib.GetFormFieldBound(Index, Edge: Integer): Double;
ActiveX
Function PDFlib::GetFormFieldBound(Index As Long, Edge As Long) As Double
DLL
double DLGetFormFieldBound(int InstanceID, int Index, int Edge);
参数
| Index | 要测量的表单字段索引。第一个表单字段的索引为 1 |
|---|---|
| Edge | 所需边缘:0 = 左 1 = 顶部 2 = 宽度 3 = 高度 |
返回值
| 0 | 找不到指定的表单字段 |
|---|---|
| Non-zero | 请求的测量值 |