SetFormFieldBorderStyle

フォームフィールド

説明

指定したフォームフィールド'の境界線の幅と線種を設定します

構文

Delphi

Function TPDFlib.SetFormFieldBorderStyle(Index: Integer; Width: Double; Style: Integer; DashOn, DashOff: Double): Integer;

ActiveX

Function PDFlib::SetFormFieldBorderStyle(Index As Long, Width As Double, Style As Long, DashOn As Double, DashOff As Double) As Long

DLL

int DLSetFormFieldBorderStyle(int InstanceID, int Index, double Width, int Style, double DashOn, double DashOff);

パラメータ

Indexフォームフィールドのインデックス 境界線の幅
Width境界線のスタイル:0 = 実線 1 = 破線 2 = ベベル 3 = インセット その他 = 実線
Style
DashOn破線の長さ。境界線スタイルが "dashed" の場合のみ有効
DashOff破線間の空白の長さ。境界線スタイルが "dashed" の場合にのみ有効です

戻り値

0フォームフィールドが見つからないか、パラメーターが無効です
1フォームフィールドの境界線スタイルが正常に設定されました