TextWatermarkOptions

TextWatermarkOptions

Overview

TextWatermarkOptions is a class in Aspose.Words FOSS for Java.

Contains options that can be specified when adding a watermark with text.

Edition status of its 14 listed members (a property and its accessor methods are listed separately, overloads once): 14 not yet exercised by a verified example.

This class declares 10 methods for TextWatermarkOptions objects in Java programs. Available methods include: getColor, getFontFamily, getFontSize, getLayout, isSemitrasparent, setColor, setFontFamily, setFontSize, setLayout. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package. Properties: color, fontFamily, fontSize, layout, semitrasparent.

Properties

NameTypeAccessDescription
fontFamilyStringRead/WriteGets or sets font family name.
colorColorRead/WriteGets or sets font color.
fontSizefloatRead/WriteGets or sets a font size.
semitrasparentbooleanRead/WriteGets or sets a boolean value which is responsible for opacity of the watermark.
layoutintRead/WriteGets or sets layout of the watermark.

Methods

SignatureDescription
getFontFamily() → StringGets or sets font family name.
setFontFamily(value: String)Sets the font family value.
getColor() → ColorGets or sets font color.
setColor(value: Color)Sets the color value.
getFontSize() → floatGets or sets a font size.
setFontSize(value: float)Sets the font size value.
isSemitrasparent() → booleanGets or sets a boolean value which is responsible for opacity of the watermark.
isSemitrasparent(value: boolean)Calls isSemitrasparent(value) on this TextWatermarkOptions instance.
getLayout() → intGets or sets layout of the watermark.
setLayout(value: int)Sets the layout value.

See Also