public class WatermarkAnnotation extends Annotation
_disableUpdateAppearance
Constructor and Description |
---|
WatermarkAnnotation(Page page,
Rectangle rect)
Constuctore for Watermark annotation class.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(AnnotationSelector visitor)
Accepts visitor for annotation processing.
|
int |
getAnnotationType()
Gets type of annotation.
|
FixedPrint |
getFixedPrint()
Fuxed print object of Watermark annotation.
|
void |
setText(FormattedText text)
Set text of the annotation.
|
void |
setTextAndState(String[] text,
TextState textState)
Set text of the annotation.
|
createAnnotation, flatten, getActiveState, getAlignment, getAppearance, getBorder, getCharacteristics, getColor, getContents, getEngineDict, getEngineObj, getFlags, getFullName, getHeight, getHorizontalAlignment_Annotation_New, getModified, getModifiedInternal, getName, getNormalAppearance, getPageIndex, getPageIndex, getRect, getStates, getWidth, initialize, isUpdateAppearanceOnConvert, isUseFontSubset, setActiveState, setAlignment, setBorder, setColor, setContents, setFlags, setHeight, setHorizontalAlignment_Annotation_New, setModified, setModifiedInternal, setName, setRect, setUpdateAppearanceOnConvert, setUseFontSubset, setWidth
deepClone, getHorizontalAlignment, getHyperlink, getMargin, getZIndex, isFirstParagraphInColumn, isInLineParagraph, isInNewPage, isKeptWithNext, setFirstParagraphInColumn, setHorizontalAlignment, setHyperlink, setInLineParagraph, setInNewPage, setKeptWithNext, setMargin, setVerticalAlignment, setZIndex
public void setText(FormattedText text)
Set text of the annotation.
text
- public void setTextAndState(String[] text, TextState textState)
Set text of the annotation.
text
- textState
- public FixedPrint getFixedPrint()
Fuxed print object of Watermark annotation.
public int getAnnotationType()
Annotation
Gets type of annotation.
getAnnotationType
in class Annotation
AnnotationType
public void accept(AnnotationSelector visitor)
Annotation
Accepts visitor for annotation processing.
accept
in class Annotation
visitor
- AnnotationSelector object.Copyright © 2016 Aspose. All Rights Reserved.