Foxit PDF SDK
|
Inherits SystemIDisposable.
Public Types | |
enum | FontStyle { FontStyle.e_FontStyleNormal = 0, FontStyle.e_FontStyleUnderline = 1 } |
Enumeration for watermark font style. More... | |
Public Member Functions | |
WatermarkTextProperties (Font font, float font_size, int color, WatermarkTextProperties.FontStyle style, float line_space, Alignment alignment) | |
Constructor, with parameters. More... | |
WatermarkTextProperties () | |
Constructor. | |
WatermarkTextProperties (WatermarkTextProperties properties) | |
Constructor, with another watermark text properties object. More... | |
void | Set (Font font, float font_size, int color, WatermarkTextProperties.FontStyle style, float line_space, Alignment alignment) |
Set value. More... | |
Properties | |
Alignment | alignment [get, set] |
Text horizontal alignment. More... | |
int | color [get, set] |
Text color. Format: 0xRRGGBB. | |
Font? | font [get, set] |
A font object used for the text. | |
float | font_size [get, set] |
Font size in points. | |
WatermarkTextProperties.FontStyle | font_style [get, set] |
Font style. More... | |
float | line_space [get, set] |
Space between vertical center of lines, in line heights. More... | |
This class represents the watermark text settings used to construct a watermark object from text.
|
strong |
|
inline |
Constructor, with parameters.
[in] | font | A valid font object used for the text. |
[in] | font_size | Font size in points. |
[in] | color | Text color. Format: 0xRRGGBB. |
[in] | style | Font style. It should be one of the following values: |
[in] | line_space | Space between vertical center of lines, in line heights. This value specifies the multiple of line heights for the space between vertical center of lines. Valid range: from 0 to 10 (not including 0 but including 10). If this value is above 10, 10 will be used as default for the text watermark. |
[in] | alignment | Text horizontal alignment. It should be one of the following values: |
|
inline |
Constructor, with another watermark text properties object.
[in] | properties | Another watermark text properties object. |
|
inline |
Set value.
[in] | font | A valid font object used for the text. |
[in] | font_size | Font size in points. |
[in] | color | Text color. Format: 0xRRGGBB. |
[in] | style | Font style. It should be one of the following values: |
[in] | line_space | Space between vertical center of lines, in line heights. This value specifies the multiple of line heights for the space between vertical center of lines. Valid range: from 0 to 10 (not including 0 but including 10). If this value is above 10, 10 will be used as default for the text watermark. |
[in] | alignment | Text horizontal alignment. It should be one of the following values: |
|
getset |
Text horizontal alignment.
It should be one of the following macro definitions:
|
getset |
Font style.
It should be one of the following values:
|
getset |
Space between vertical center of lines, in line heights.
This value is used to specify the multiple of line heights for the space between vertical center of lines. Valid range: from 0 to 10 (not including 0 but including 10). If this value is above 10, 10 will be used as default for the text watermark.