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, getRectangle, getStates, getWidth, initialize, isUpdateAppearanceOnConvert, isUseFontSubset, setActiveState, setAlignment, setBorder, setColor, setContents, setFlags, setHeight, setHorizontalAlignment_Annotation_New, setModified, setModifiedInternal, setName, setRect, setUpdateAppearanceOnConvert, setUseFontSubset, setWidthdeepClone, getHorizontalAlignment, getHyperlink, getMargin, getZIndex, isFirstParagraphInColumn, isInLineParagraph, isInNewPage, isKeptWithNext, setFirstParagraphInColumn, setHorizontalAlignment, setHyperlink, setInLineParagraph, setInNewPage, setKeptWithNext, setMargin, setVerticalAlignment, setZIndexpublic 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()
AnnotationGets type of annotation.
getAnnotationType in class AnnotationAnnotationTypepublic void accept(AnnotationSelector visitor)
AnnotationAccepts visitor for annotation processing.
accept in class Annotationvisitor - AnnotationSelector object.Copyright © 2016 Aspose. All Rights Reserved.