SetFormFieldAlignment
フォームフィールド
説明
指定したフォームフィールドの配置を設定します
構文
Delphi
Function TPDFlib.SetFormFieldAlignment(Index, Alignment: Integer): Integer;
ActiveX
Function PDFlib::SetFormFieldAlignment(Index As Long, Alignment As Long) As Long
DLL
int DLSetFormFieldAlignment(int InstanceID, int Index, int Alignment);
パラメータ
| Index | 操作対象のフォームフィールドのインデックスです。最初のフォームフィールドのインデックスは 1 です |
|---|---|
| Alignment | フォームフィールドに使用する配置: 0 = 左揃え 1 = 中央揃え 2 = 右揃え |
戻り値
| 0 | フォームフィールドインデックスが無効でした |
|---|---|
| 1 | フォームフィールドの配置が正常に設定されました |