Constructor Summary |
---|
RenderingWatermark(text, renderingFont)
Creates instance of text watermark. |
RenderingWatermark(imageData)
Creates instance of image watermark. |
Property Getters/Setters Summary | ||
---|---|---|
function | getFont() | |
Gets font of the watermark.
|
||
function | getHAlignment() | |
function | setHAlignment(value) | |
Gets or sets horizontal alignment of the watermark to the page. The value of the property is TextAlignmentType integer constant. | ||
function | getImage() | |
Gets image of the watermark.
|
||
function | isBackground() | |
function | setBackground(value) | |
Indicates whether the watermark is placed behind page contents. | ||
function | getOffsetX() | |
function | setOffsetX(value) | |
Gets or sets offset value to |
||
function | getOffsetY() | |
function | setOffsetY(value) | |
Gets or sets offset value to |
||
function | getOpacity() | |
function | setOpacity(value) | |
Gets or sets opacity of the watermark in range [0, 1]. | ||
function | getRotation() | |
function | setRotation(value) | |
Gets or sets roation of the watermark in degrees. | ||
function | getScaleToPagePercent() | |
function | setScaleToPagePercent(value) | |
Gets or sets scale relative to target page in percent. | ||
function | getText() | |
Gets text of the watermark.
|
||
function | getVAlignment() | |
function | setVAlignment(value) | |
Gets or sets vertical alignment of the watermark to the page. The value of the property is TextAlignmentType integer constant. |
function RenderingWatermark(text, renderingFont)
text: String
- watermark textrenderingFont: RenderingFont
- watermark fontfunction RenderingWatermark(imageData)
imageData: byte[]
- function getRotation() / function setRotation(value)
function getScaleToPagePercent() / function setScaleToPagePercent(value)
function getOpacity() / function setOpacity(value)
function isBackground() / function setBackground(value)
function getText()
function getFont()
function getImage()
function getHAlignment() / function setHAlignment(value)
function getVAlignment() / function setVAlignment(value)
function getOffsetX() / function setOffsetX(value)
function getOffsetY() / function setOffsetY(value)