|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.doc.OwnerHolder
com.spire.doc.documents.xml.DocumentSerializable
com.spire.doc.DocumentObject
com.spire.doc.DocumentBase
com.spire.doc.fields.ParagraphBase
com.spire.doc.WatermarkBase
com.spire.doc.TextWatermark
public class TextWatermark
Constructor Summary | |
---|---|
TextWatermark()
Initializes a new instance of the TextWatermark class. |
|
TextWatermark(java.lang.String text)
Initializes a new instance of the TextWatermark class. |
|
TextWatermark(java.lang.String text,
java.lang.String fontName,
int fontSize,
WatermarkLayout layout)
Initializes a new instance of the TextWatermark class. |
Method Summary | |
---|---|
java.awt.Color |
getColor()
Gets text watermark color. |
java.lang.String |
getFontName()
Gets watermark text's font name. |
float |
getFontSize()
Gets text watermark size. |
WatermarkLayout |
getLayout()
Gets layout for Text watermark. |
boolean |
getSemitransparent()
Gets semitransparent property for Text watermark. |
java.lang.String |
getText()
Gets watermark text\ |
void |
setColor(java.awt.Color value)
Sets text watermark color. |
void |
setFontName(java.lang.String value)
Sets watermark text's font name. |
void |
setFontSize(float value)
Sets text watermark size. |
void |
setLayout(WatermarkLayout value)
Sets layout for Text watermark. |
void |
setSemitransparent(boolean value)
Sets semitransparent property for Text watermark. |
void |
setText(java.lang.String value)
Sets watermark text |
Methods inherited from class com.spire.doc.WatermarkBase |
---|
getDocumentObjectType, getType |
Methods inherited from class com.spire.doc.fields.ParagraphBase |
---|
applyCharacterFormat, applyStyle, getAncestor, getCharacterFormat, getChildObjects, getOwnerParagraph, getStyleName, isDeleteRevision, isInsertRevision |
Methods inherited from class com.spire.doc.DocumentObject |
---|
deepClone, getFirstChild, getLastChild, getNextSibling, getOwner, getPreviousSibling, isComposite, toString |
Methods inherited from class com.spire.doc.OwnerHolder |
---|
getDocument |
Methods inherited from interface com.spire.doc.interfaces.IDocumentObject |
---|
deepClone, getDocument, getNextSibling, getOwner, getPreviousSibling, isComposite |
Methods inherited from interface com.spire.doc.documents.IRunAttrSource |
---|
clearRunAttrs, fetchInheritedRunAttr, getDirectRunAttr, getDirectRunAttrByIndex, getDirectRunAttrsCount, setRunAttr |
Constructor Detail |
---|
public TextWatermark()
TextWatermark
class.
public TextWatermark(java.lang.String text)
TextWatermark
class.
text
- WatermarkBase textpublic TextWatermark(java.lang.String text, java.lang.String fontName, int fontSize, WatermarkLayout layout)
TextWatermark
class.
text
- WatermarkBase textfontName
- Text font namefontSize
- Font sizelayout
- WatermarkBase layoutMethod Detail |
---|
public java.lang.String getText()
public void setText(java.lang.String value)
value
- watermark textpublic java.lang.String getFontName()
public void setFontName(java.lang.String value)
value
- watermark text's font name.public float getFontSize()
public void setFontSize(float value)
value
- text watermark size.public java.awt.Color getColor()
public void setColor(java.awt.Color value)
value
- the watermark colorpublic boolean getSemitransparent()
public void setSemitransparent(boolean value)
value
- semitransparent property for Text watermark.public WatermarkLayout getLayout()
public void setLayout(WatermarkLayout value)
value
- layout for Text watermark.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |