SetAnnotBorderStyle
注释和热点链接
描述
设置指定注释的边框样式
语法
Delphi
Function TPDFlib.SetAnnotBorderStyle(Index: Integer; Width: Double; Style: Integer; DashOn, DashOff: Double): Integer;
ActiveX
Function PDFlib::SetAnnotBorderStyle(Index As Long, Width As Double, Style As Long, DashOn As Double, DashOff As Double) As Long
DLL
int DLSetAnnotBorderStyle(int InstanceID, int Index, double Width, int Style, double DashOn, double DashOff);
参数
| Index | 注释索引,页面上的第一条注释索引为 1 |
|---|---|
| Width | 边框宽度 |
| Style | 边框样式:0 = 实线 1 = 虚线 2 = 斜面 3 = 内嵌 其他任意值 = 实线 |
| DashOn | 虚线长度。仅当边框样式为 "dashed" 时有效 |
| DashOff | 虚线之间空隙的长度。仅当边框样式为 "dashed" 时有效 |
返回值
边框样式设置成功后返回 1。Index 不是当前页面上注释的标识时返回 0;Style 超出 0 到 4 范围时按 0(实线)处理。