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表單欄位調整尺寸與移動成功