WatermarkTextOptions

Inheritance: java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.WatermarkOptions

public class WatermarkTextOptions extends WatermarkOptions

Options for settings text watermark to the converted document

Constructors

Constructor Description
WatermarkTextOptions(String text)

Methods

Method Description
getText() Watermark text
setText(String value) Watermark text
getWatermarkFont() Watermark font if text watermark is applied
setWatermarkFont(Font watermarkFont) Sets Watermark font if text watermark is applied
getColor() Watermark font color if text watermark is applied
getColorInternal()
setColor(Color value) Watermark font color if text watermark is applied
getHexColor()

WatermarkTextOptions(String text)

public WatermarkTextOptions(String text)

Parameters:

Parameter Type Description
text java.lang.String

getText()

public final String getText()

Watermark text

Returns: java.lang.String

setText(String value)

public final void setText(String value)

Watermark text

Parameters:

Parameter Type Description
value java.lang.String

getWatermarkFont()

public Font getWatermarkFont()

Watermark font if text watermark is applied

Returns: Font - font

setWatermarkFont(Font watermarkFont)

public void setWatermarkFont(Font watermarkFont)

Sets Watermark font if text watermark is applied

Parameters:

Parameter Type Description
watermarkFont Font font

getColor()

public final Color getColor()

Watermark font color if text watermark is applied

Returns: java.awt.Color

getColorInternal()

public System.Drawing.Color getColorInternal()

Returns: com.aspose.ms.System.Drawing.Color

setColor(Color value)

public final void setColor(Color value)

Watermark font color if text watermark is applied

Parameters:

Parameter Type Description
value java.awt.Color

getHexColor()

public String getHexColor()

Returns: java.lang.String