SetFormFieldBorderStyle

表单字段

描述

设置指定表单字段's边框的宽度和线条样式

语法

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已成功设置表单字段边框样式