java.lang.Object
com.aspose.words.TextWatermarkOptions
public class TextWatermarkOptions
- extends java.lang.Object
Contains options that can be specified when adding a watermark with text.
TextWatermarkOptions
public TextWatermarkOptions()
-
Property Getters/Setters Detail |
getColor/setColor | |
public java.awt.Color getColor() / public void setColor(java.awt.Color value)
|
-
Gets or sets font color. The default value is Color.Silver.
getFontFamily/setFontFamily | |
public java.lang.String getFontFamily() / public void setFontFamily(java.lang.String value)
|
-
Gets or sets font family name. The default value is "Calibri".
getFontSize/setFontSize | |
public float getFontSize() / public void setFontSize(float value)
|
-
Gets or sets a font size. The default value is 0 - auto.
Valid values range from 0 to 65.5 inclusive.
Auto font size means that the watermark will be scaled to its max width and max height relative to
the page margins.
isSemitrasparent/isSemitrasparent | |
public boolean isSemitrasparent() / public void isSemitrasparent(boolean value)
|
-
Gets or sets a boolean value which is responsible for opacity of the watermark.
The default value is
true
.
getLayout/setLayout | |
public int getLayout() / public void setLayout(int value)
|
-
Gets or sets layout of the watermark. The default value is WatermarkLayout.DIAGONAL.
The value of the property is WatermarkLayout integer constant.
See Also:
Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
Aspose.Words Support Forum - our preferred method of support.