WatermarkType
Overview
WatermarkType is an enum in Aspose.Words FOSS for Java.
Specifies the watermark type.
Edition status of its 8 listed members (a property and its accessor methods are listed separately, overloads once): 8 not yet exercised by a verified example.
This enum declares 4 methods for WatermarkType objects in Java programs.
Available methods include: fromName, getName, getValues, toString.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: values.
Values
| Value | Description |
|---|---|
TEXT | Indicates that the text will be used as a watermark. |
IMAGE | Indicates that the image will be used as a watermark. |
NONE | Indicates watermark is no set. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of WatermarkType values. |
Methods
| Signature | Description |
|---|---|
getName(watermarkType: int) → String | Returns JAVA_STYLE string representation of integer WatermarkType value. |
toString(watermarkType: int) → String | Returns DotNetStyle string representation of integer WatermarkType value. |
fromName(watermarkTypeName: String) → int | Returns integer representation by WatermarkType name. |
getValues() → int[] | Returns array of WatermarkType values. |