Foxit PDF SDK
foxit.addon.tablegenerator.TableBorderInfo类 参考

继承自 SystemIDisposable .

Public 类型

enum  TableBorderStyle { TableBorderStyle.e_TableBorderStyleSolid = 0, TableBorderStyle.e_TableBorderStyleDashed = 1 }
 PDF 表格边框样式的枚举。 更多...
 

Public 成员函数

 TableBorderInfo ()
 构造函数。
 
 TableBorderInfo (TableBorderInfo.TableBorderStyle table_border_style, float line_width, uint color, float dash_phase, FloatArray dashes)
 构造函数,带参数。 更多...
 
 TableBorderInfo (TableBorderInfo table_border_info)
 拷贝构造函数。 更多...
 
void Set (TableBorderInfo.TableBorderStyle table_border_style, float line_width, uint color, float dash_phase, FloatArray dashes)
 设置值。 更多...
 

属性

uint color [get, set]
 表格边框颜色。格式:0xAARRGGBB。
 
float dash_phase [get, set]
 虚线相位。不应为负。仅当参数 stylefoxit.addon.tablegenerator.TableBorderInfo.TableBorderStyle.e_TableBorderStyleDashed 时有用。 更多详细信息请参考 <PDF Reference 1.7> P211 "dash pattern"。
 
FloatArraydashes [get, set]
 表示虚线模式的虚线数组。此数组中每个元素的值 不应为负。仅当 stylefoxit.addon.tablegenerator.TableBorderInfo.TableBorderStyle.e_TableBorderStyleDashed 时有用。 更多详细信息请参考 <PDF Reference 1.7> P211 "dash pattern"。
 
float line_width [get, set]
 表格边框线宽,以点为单位。应该是非负值。 如果此值为 0,则不绘制边框。
 
TableBorderInfo.TableBorderStyle table_border_style [get, set]
 表格边框样式。请参考从 foxit.addon.tablegenerator.TableBorderInfo.TableBorderStyle.e_TableBorderStyleSolid 开始的值, 应该是这些值中的一个。
 

详细描述

此类表示表格边框信息。

成员枚举类型说明

◆ TableBorderStyle

PDF 表格边框样式的枚举。

此枚举的值应该单独使用。

枚举值
e_TableBorderStyleSolid 

表格边框样式:实线。

e_TableBorderStyleDashed 

表格边框样式:虚线。

构造及析构函数说明

◆ TableBorderInfo() [1/2]

foxit.addon.tablegenerator.TableBorderInfo.TableBorderInfo ( TableBorderInfo.TableBorderStyle  table_border_style,
float  line_width,
uint  color,
float  dash_phase,
FloatArray  dashes 
)
inline

构造函数,带参数。

参数
[in]table_border_style表格边框样式。请参考从 foxit.addon.tablegenerator.TableBorderInfo.TableBorderStyle.e_TableBorderStyleSolid 开始的值, 应该是这些值中的一个。
[in]line_width表格边框线宽,以点为单位。应该是非负值。 如果此值为 0,则不绘制边框。
[in]color表格边框颜色。格式:0xAARRGGBB。
[in]dash_phase虚线相位。仅当参数 stylefoxit.addon.tablegenerator.TableBorderInfo.TableBorderStyle.e_TableBorderStyleDashed 时有用。
[in]dashes表示虚线模式的虚线数组。此数组中每个元素的值 不应为负。仅当 stylefoxit.addon.tablegenerator.TableBorderInfo.TableBorderStyle.e_TableBorderStyleDashed 时有用。

◆ TableBorderInfo() [2/2]

foxit.addon.tablegenerator.TableBorderInfo.TableBorderInfo ( TableBorderInfo  table_border_info)
inline

拷贝构造函数。

参数
[in]table_border_info另一个表格边框信息对象。

成员函数说明

◆ Set()

void foxit.addon.tablegenerator.TableBorderInfo.Set ( TableBorderInfo.TableBorderStyle  table_border_style,
float  line_width,
uint  color,
float  dash_phase,
FloatArray  dashes 
)
inline

设置值。

参数
[in]table_border_style表格边框样式。请参考从 foxit.addon.tablegenerator.TableBorderInfo.TableBorderStyle.e_TableBorderStyleSolid 开始的值, 应该是这些值中的一个。
[in]line_width表格边框线宽,以点为单位。应该是非负值。 如果此值为 0,则不绘制边框。
[in]color表格边框颜色。格式:0xAARRGGBB。
[in]dash_phase虚线相位。仅当参数 stylefoxit.addon.tablegenerator.TableBorderInfo.TableBorderStyle.e_TableBorderStyleDashed 时有用。
[in]dashes表示虚线模式的虚线数组。此数组中每个元素的值 不应为负。仅当 stylefoxit.addon.tablegenerator.TableBorderInfo.TableBorderStyle.e_TableBorderStyleDashed 时有用。
返回
无。