SetFormFieldComb
フォームフィールド
説明
フォームフィールドを comb フィールドとしてマークし、値の各文字がフィールド内で同じ幅を占めるようにします。フィールドはテキストフィールドである必要があり、SetFormFieldMaxLen 関数を呼び出してフィールドの文字数を指定する必要があります
構文
Delphi
Function TPDFlib.SetFormFieldComb(Index, Comb: Integer): Integer;
ActiveX
Function PDFlib::SetFormFieldComb(Index As Long, Comb As Long) As Long
DLL
int DLSetFormFieldComb(int InstanceID, int Index, int Comb);
パラメータ
| Index | フォームフィールドのインデックス |
|---|---|
| Comb | 0 = 通常フィールド 1 = Comb フィールド |
戻り値
combフラグを更新できた場合は1を返します。Indexがフォームフィールドを識別していない場合は0を返します。