|
Foxit PDF SDK
|
继承自 SystemIDisposable .
Public 类型 | |
| enum | Style { Style.e_Solid = 0, Style.e_Dashed = 1, Style.e_UnderLine = 2, Style.e_Beveled = 3, Style.e_Inset = 4, Style.e_Cloudy = 5 } |
| PDF注释边框样式的枚举。 更多... | |
Public 成员函数 | |
| BorderInfo (float width, BorderInfo.Style style, float intensity, float dash_phase, FloatArray dashes) | |
| 构造函数,带参数。 更多... | |
| BorderInfo () | |
| 默认构造函数。 | |
| BorderInfo (BorderInfo border_info) | |
| 拷贝构造函数。 更多... | |
| void | Set (float width, BorderInfo.Style style, float intensity, float dash_phase, FloatArray dashes) |
| 设置边框信息。 更多... | |
属性 | |
| float | cloud_intensity [get, set] |
| 云状效果的强度。 更多... | |
| float | dash_phase [get, set] |
| 虚线相位。 更多... | |
| FloatArray? | dashes [get, set] |
| 表示虚线模式的虚线数组。 更多... | |
| BorderInfo.Style | style [get, set] |
| 边框样式。请参考 foxit.pdf.annots.BorderInfo.Style.e_Solid 及相关值,应为这些值中的一个。 | |
| float | width [get, set] |
| 边框宽度,以点为单位。 更多... | |
此类表示注释边框信息。
|
strong |
PDF注释边框样式的枚举。
此枚举的值应单独使用。
| 枚举值 | |
|---|---|
| e_Solid | 边框样式:实线 |
| e_Dashed | 边框样式:虚线。 这仅对链接、自由文本、线条、正方形、圆形、多边形、折线和屏幕注释有用。 如果将此设置为其他类型的注释,福昕PDF SDK内部会默认将边框样式更改为 foxit.pdf.annots.BorderInfo.Style.e_Solid 。 |
| e_UnderLine | 边框样式:下划线。 这仅对链接注释有用。如果将此设置为其他类型的注释,福昕PDF SDK内部会 默认将边框样式更改为foxit.pdf.annots.BorderInfo.Style.e_Solid 。 |
| e_Beveled | 边框样式:斜面。 目前,福昕PDF SDK不支持此边框样式的注释外观。 如果将此设置为任何注释,福昕PDF SDK内部会默认将边框样式更改为 foxit.pdf.annots.BorderInfo.Style.e_Solid 。 |
| e_Inset | 边框样式:内嵌。 目前,福昕PDF SDK不支持此边框样式的注释外观。 如果将此设置为任何注释,福昕PDF SDK内部会默认将边框样式更改为 foxit.pdf.annots.BorderInfo.Style.e_Solid 。 |
| e_Cloudy | 边框样式:云朵。 这仅对自由文本、正方形、圆形和多边形注释有用。 如果将此设置为其他类型的注释,福昕PDF SDK内部会默认将边框样式更改为 foxit.pdf.annots.BorderInfo.Style.e_Solid 。 |
|
inline |
构造函数,带参数。
| [in] | width | 边框宽度,以点为单位。这应该是一个非负值。 如果此值为0,则不绘制边框。 |
| [in] | style | 边框样式。请参考从foxit.pdf.annots.BorderInfo.Style.e_Solid 开始的值, 这应该是这些值中的一个。 |
| [in] | intensity | 云状效果的强度。仅当参数style为 foxit.pdf.annots.BorderInfo.Style.e_Cloudy 时才有用。有效值范围:0到2。 0表示没有云状边框效果。 如果值小于0,将与值0具有相同效果。 如果值大于2,将与值2具有相同效果。 |
| [in] | dash_phase | 虚线相位。仅在参数style为 foxit.pdf.annots.BorderInfo.Style.e_Dashed 时有用。 |
| [in] | dashes | 表示虚线模式的虚线数组。此数组中每个元素的值 不应为负数。仅在style为foxit.pdf.annots.BorderInfo.Style.e_Dashed 时有用。 |
|
inline |
拷贝构造函数。
| [in] | border_info | 另一个边框信息对象。 |
|
inline |
设置边框信息。
| [in] | width | 边框宽度(单位:点)。应为非负值。为0时不绘制边框。 |
| [in] | style | 边框样式。请参考从foxit.pdf.annots.BorderInfo.Style.e_Solid 开始的值,这应该是这些值中的一个。 |
| [in] | intensity | 云状效果强度,仅当style为foxit.pdf.annots.BorderInfo.Style.e_Cloudy 时有效。有效范围0~2。 0表示无云状效果。小于0等同于0,大于2等同于2。 |
| [in] | dash_phase | 虚线起始相位,仅当style为foxit.pdf.annots.BorderInfo.Style.e_Dashed 时有效。 |
| [in] | dashes | 虚线数组,表示虚线模式。数组中每个元素都应为非负值,仅当style为foxit.pdf.annots.BorderInfo.Style.e_Dashed 时有效。 |
|
getset |
云状效果的强度。
仅对自由文本、正方形、圆形和多边形注释有用,当前对象的 style 为 foxit.pdf.annots.BorderInfo.Style.e_Cloudy 时。
建议值范围:0 到 2。0 表示无云状边框效果。
其他值的效果为:
如果值小于 0,将与值 0 具有相同效果。
如果值大于 2,将与值 2 具有相同效果。
|
getset |
虚线相位。
仅在当前对象的 style 为 foxit.pdf.annots.BorderInfo.Style.e_Dashed 时有用。
|
getset |
表示虚线模式的虚线数组。
仅在当前对象的 style 为 foxit.pdf.annots.BorderInfo.Style.e_Dashed 时有用。
此数组中元素的值不应为负数。
|
getset |
边框宽度,以点为单位。
此值不应为负数。如果此值为 0,则不会绘制边框。