SetFormFieldBounds

表单字段

描述

更改指定表单字段的物理大小和位置

语法

Delphi

Function TPDFlib.SetFormFieldBounds(Index: Integer; Left, Top, Width, Height: Double): Integer;

ActiveX

Function PDFlib::SetFormFieldBounds(Index As Long, Left As Double, Top As Double, Width As Double, Height As Double) As Long

DLL

int DLSetFormFieldBounds(int InstanceID, int Index, double Left, double Top, double Width, double Height);

参数

Index要调整的表单字段索引,以及该表单字段左边缘的新坐标
Left表单字段顶部的新坐标
Top
Width表单字段的新宽度
Height表单字段的新高度

返回值

0找不到表单字段
1已成功调整表单字段大小并移动其位置