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请求的测量值