WatermarkTextParams Class Documentation

classWatermarkTextParams

Namespace:com::datalogics::PDFL

Detailed Description

Watermark settings to control the appearance of text in a text-based watermark.

Referenced by

Uses types

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 void

delete

synchronized voiddelete()

Returns:

synchronized void

finalize

voidfinalize()

Returns:

void

getColor

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:

float

getText

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: Color

The Color to use for the watermark text.

Returns:

void

Sets the color to be used when generating a text-based watermark.

setFont

voidsetFont(Fontfont)

Parameters

font: Font

The Font to use for the watermark text.

Returns:

void

Sets the Font to be used when generating a text-based watermark.

setFontSize

voidsetFontSize(floatvalue)

Parameters

value: float

Returns:

void

setText

voidsetText(Stringarg0)

Parameters

arg0: String

Returns:

void

Sets the text to be used when generating a text-based watermark.

setTextAlign

voidsetTextAlign(HorizontalAlignmenth)

Parameters

h: HorizontalAlignment

The horizontal alignment for the watermark text.

Returns:

void

Sets the alignment to be used when justifying a text-based watermark.