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フォームフィールドのサイズ変更と移動に成功しました