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 | 表單欄位的框線樣式設定成功 |