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
| Name | Type | Access | Description |
|---|---|---|---|
fontFamily | String | Read/Write | Gets or sets font family name. |
color | Color | Read/Write | Gets or sets font color. |
fontSize | float | Read/Write | Gets or sets a font size. |
semitrasparent | boolean | Read/Write | Gets or sets a boolean value which is responsible for opacity of the watermark. |
layout | int | Read/Write | Gets or sets layout of the watermark. |
Methods
| Signature | Description |
|---|---|
getFontFamily() → String | Gets or sets font family name. |
setFontFamily(value: String) | Sets the font family value. |
getColor() → Color | Gets or sets font color. |
setColor(value: Color) | Sets the color value. |
getFontSize() → float | Gets or sets a font size. |
setFontSize(value: float) | Sets the font size value. |
isSemitrasparent() → boolean | Gets or sets a boolean value which is responsible for opacity of the watermark. |
isSemitrasparent(value: boolean) | Calls isSemitrasparent(value) on this TextWatermarkOptions instance. |
getLayout() → int | Gets or sets layout of the watermark. |
setLayout(value: int) | Sets the layout value. |