|
Foxit PDF SDK
|
继承自 SystemIDisposable .
Public 类型 | |
| enum | FontStyle { FontStyle.e_FontStyleNormal = 0, FontStyle.e_FontStyleUnderline = 1 } |
| 水印字体样式的枚举。 更多... | |
Public 成员函数 | |
| WatermarkTextProperties (Font font, float font_size, int color, WatermarkTextProperties.FontStyle style, float line_space, Alignment alignment) | |
| 带参数的构造函数。 更多... | |
| WatermarkTextProperties () | |
| 构造函数。 | |
| WatermarkTextProperties (WatermarkTextProperties properties) | |
| 带另一个水印文本属性对象的构造函数。 更多... | |
| void | Set (Font font, float font_size, int color, WatermarkTextProperties.FontStyle style, float line_space, Alignment alignment) |
| 设置值。 更多... | |
属性 | |
| Alignment | alignment [get, set] |
| 文本水平对齐方式。默认值为foxit.common.Alignment.e_AlignmentLeft 。 更多... | |
| int | color [get, set] |
| 文本颜色。格式:0xRRGGBB。默认值为0x000000。 | |
| Font? | font [get, set] |
| 用于文本的字体对象。 | |
| float | font_size [get, set] |
| 字体大小,以点为单位。默认值为24.0。 | |
| WatermarkTextProperties.FontStyle | font_style [get, set] |
| 字体样式。默认值为foxit.pdf.WatermarkTextProperties.FontStyle.e_FontStyleNormal 。 更多... | |
| float | line_space [get, set] |
| 行间距,以行高为单位。默认值为1.0。 更多... | |
此类表示用于从文本构造水印对象的水印文本设置。
|
strong |
|
inline |
带参数的构造函数。
参数line_space和alignment不支持平铺水印,设置后将无效果。
| [in] | font | 用于文本的有效字体对象。 |
| [in] | font_size | 字体大小,以点为单位。 |
| [in] | color | 文本颜色。格式:0xRRGGBB。 |
| [in] | style | 字体样式。应为以下值之一: |
| [in] | line_space | 行间距,以行高为单位。此值指定行间距的行高倍数。 有效范围:从0到10(不包括0但包括10)。如果此值大于10, 将使用10作为文本水印的默认值。 |
| [in] | alignment | 文本水平对齐方式。应为以下值之一: |
|
inline |
带另一个水印文本属性对象的构造函数。
| [in] | properties | 另一个水印文本属性对象。 |
|
inline |
设置值。
参数line_space和alignment不支持平铺水印,设置后将无效果。
| [in] | font | 用于文本的有效字体对象。 |
| [in] | font_size | 字体大小,以点为单位。 |
| [in] | color | 文本颜色。格式:0xRRGGBB。 |
| [in] | style | 字体样式。应为以下值之一: |
| [in] | line_space | 行间距,以行高为单位。此值指定行间距的行高倍数。 有效范围:从0到10(不包括0但包括10)。如果此值大于10, 将使用10作为文本水印的默认值。 |
| [in] | alignment | 文本水平对齐方式。应为以下值之一: |
|
getset |
|
getset |
|
getset |
行间距,以行高为单位。默认值为1.0。
此值用于指定行间距的行高倍数。 有效范围:从0到10(不包括0但包括10)。如果此值大于10,将使用10 作为文本水印的默认值。