WatermarkTextParams Class Documentation
classWatermarkTextParamsNamespace:com::datalogics::PDFL
Detailed Description
Watermark settings to control the appearance of text in a text-based watermark.
Referenced by
Constructor & Destructor Documentation
WatermarkTextParams
WatermarkTextParams()Creates a new WatermarkTextParams with default settings. The default font is CourierStd, font size is 24.0, color is DeviceGray black, and text alignment is left-aligned.
Member Function Documentation
DisposeChildren
voidDisposeChildren()Returns:
void[static initializer]
static void[static initializer]()delete
synchronized voiddelete(Booleandisposing)Parameters
disposing: Boolean
Returns:
synchronized voiddelete
synchronized voiddelete()Returns:
synchronized voidfinalize
voidfinalize()Returns:
voidgetColor
ColorgetColor()Returns:
The Color of the watermark text.Gets the color to be used when generating a text-based watermark.
getFont
FontgetFont()Returns:
The Font used for the watermark text.Gets the Font to be used when generating a text-based watermark.
getFontSize
floatgetFontSize()Returns:
floatgetText
StringgetText()Returns:
The watermark text string.Gets the text to be used when generating a text-based watermark.
getTextAlign
HorizontalAlignmentgetTextAlign()Returns:
The horizontal alignment for the watermark text.Gets the alignment to be used when justifying a text-based watermark.
setColor
voidsetColor(Colorcolor)Parameters
color: ColorThe Color to use for the watermark text.
Returns:
voidSets the color to be used when generating a text-based watermark.
setFont
voidsetFont(Fontfont)Parameters
font: FontThe Font to use for the watermark text.
Returns:
voidSets the Font to be used when generating a text-based watermark.
setFontSize
voidsetFontSize(floatvalue)Parameters
value: float
Returns:
voidsetText
voidsetText(Stringarg0)Parameters
arg0: String
Returns:
voidSets the text to be used when generating a text-based watermark.
setTextAlign
voidsetTextAlign(HorizontalAlignmenth)Parameters
h: HorizontalAlignmentThe horizontal alignment for the watermark text.
Returns:
voidSets the alignment to be used when justifying a text-based watermark.