SetTableThinBorders

页面布局

描述

设置表格使用细边框线而非斜面边缘,这些线条在所有缩放级别下均显示为单像素宽度

线条使用 Red、Green 和 Blue 参数指定的颜色绘制

语法

Delphi

Function TPDFlib.SetTableThinBorders(TableID, ThinBorders: Integer; Red, Green, Blue: Double): Integer;

ActiveX

Function PDFlib::SetTableThinBorders(TableID As Long, ThinBorders As Long, Red As Double, Green As Double, Blue As Double) As Long

DLL

int DLSetTableThinBorders(int InstanceID, int TableID, int ThinBorders, double Red, double Green, double Blue);

参数

TableID由 CreateTable 函数返回的 TableID
ThinBorders0 = 使用斜切边缘(默认值) 1 = 使用细线
Red颜色的红色分量,取值范围为 0 到 1
Green颜色的绿色分量,取值范围为 0 到 1
Blue颜色的蓝色分量,值范围为 0 到 1

返回值

0无法设置表格线条样式
1表格线条样式已成功设置