WatermarkTextParams Class Documentation
class WatermarkTextParamsNamespace: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
delete
synchronized void delete(Boolean disposing)Parameters
disposing: Boolean
Returns:
synchronized voiddelete
synchronized void delete()Returns:
synchronized voidfinalize
void finalize()Returns:
voidgetColor
Color getColor()Returns:
ColorThe Color of the watermark text.
Gets the color to be used when generating a text-based watermark.
getFont
Font getFont()Returns:
FontThe Font used for the watermark text.
Gets the Font to be used when generating a text-based watermark.
getFontSize
float getFontSize()Returns:
floatgetText
String getText()Returns:
StringThe watermark text string.
Gets the text to be used when generating a text-based watermark.
getTextAlign
HorizontalAlignment getTextAlign()Returns:
HorizontalAlignmentThe horizontal alignment for the watermark text.
Gets the alignment to be used when justifying a text-based watermark.
setColor
void setColor(Color color)Parameters
color: ColorThe Color to use for the watermark text.
Returns:
voidSets the color to be used when generating a text-based watermark.
setFont
void setFont(Font font)Parameters
font: FontThe Font to use for the watermark text.
Returns:
voidSets the Font to be used when generating a text-based watermark.
setFontSize
void setFontSize(float value)Parameters
value: float
Returns:
voidsetText
void setText(String arg0)Parameters
arg0: String
Returns:
voidSets the text to be used when generating a text-based watermark.
setTextAlign
void setTextAlign(HorizontalAlignment h)Parameters
h: HorizontalAlignmentThe horizontal alignment for the watermark text.
Returns:
voidSets the alignment to be used when justifying a text-based watermark.