SetFormFieldSpecialFormat
フォームフィールド、アクション
説明
郵便番号、ZIP+4 コード、電話番号、または米国社会保障番号用に対応する AFSpecial_Keystroke および AFSpecial_Format アクションを追加する
構文
Function TPDFlib.SetFormFieldSpecialFormat(Index: Integer; SpecialFormat: TPDFlibFormSpecialFormat): Integer;パラメータ
| Index | キーストローク アクションと書式アクションを受け取るフォーム フィールドの 1 から始まるインデックス |
|---|---|
| SpecialFormat | fsfZipCode は 0、fsfZipPlus4 は 1、fsfPhoneNumber は 2、fsfSocialSecurityNumber は 3。列挙値の範囲外の値は拒否されます |
戻り値
成功時は 1、フィールドが無効か PDF/A モードが有効な場合は 0 を返します