public class WatermarkAnnotation extends AnnotationBase implements IWatermarkAnnotation
Represents Watermark annotation properties
| Constructor and Description |
|---|
WatermarkAnnotation()
Initializes new instance of
WatermarkAnnotation class. |
| Modifier and Type | Method and Description |
|---|---|
Object |
deepClone()
Returns new Instance with same values
|
boolean |
equals(Object o)
Compares Watermark Annotations using standard object Equals method
|
boolean |
equals(WatermarkAnnotation other)
Compares Watermark Annotations using IEquatable Equals method
|
Double |
getAngle()
Gets or sets watermark rotation angle
|
Boolean |
getAutoScale()
Gets or sets auto scale for watermar
|
Rectangle |
getBox()
Gets or sets annotation position
|
Integer |
getFontColor()
Gets or sets watermark text font color
|
String |
getFontFamily()
Gets or sets watermark text font family
|
Double |
getFontSize()
Gets or sets watermark text font size
|
Integer |
getHorizontalAlignment()
Gets or sets watermark horizontal alignment on document
|
Double |
getOpacity()
Gets or sets annotation opacity
|
String |
getText()
Gets or sets watermark text
|
Integer |
getVerticalAlignment()
Gets or sets watermark vertical alignment on document
|
int |
hashCode()
Returns HashCode of Watermark Annotation
|
void |
setAngle(Double value)
Gets or sets watermark rotation angle
|
void |
setAutoScale(Boolean value)
Gets or sets auto scale for watermar
|
void |
setBox(Rectangle value)
Gets or sets annotation position
|
void |
setFontColor(Integer value)
Gets or sets watermark text font color
|
void |
setFontFamily(String value)
Gets or sets watermark text font family
|
void |
setFontSize(Double value)
Gets or sets watermark text font size
|
void |
setHorizontalAlignment(Integer value)
Gets or sets watermark horizontal alignment on document
|
void |
setOpacity(Double value)
Gets or sets annotation opacity
|
void |
setText(String value)
Gets or sets watermark text
|
void |
setVerticalAlignment(Integer value)
Gets or sets watermark vertical alignment on document
|
String |
toString() |
String |
toString(org.apache.commons.lang3.builder.ToStringStyle toStringStyle) |
equals, getCounter, getCreatedOn, getId, getMessage, getPageNumber, getReplies, getStateBeforeAnnotation, getType, getUser, memberwiseClone, setCounter, setCreatedOn, setId, setMessage, setPageNumber, setReplies, setStateBeforeAnnotation, setType, setUserpublic WatermarkAnnotation()
Initializes new instance of WatermarkAnnotation class.
public Object deepClone()
Returns new Instance with same values
deepClone in interface com.aspose.ms.System.ICloneabledeepClone in class AnnotationBasepublic boolean equals(Object o)
Compares Watermark Annotations using standard object Equals method
equals in interface com.aspose.ms.System.IEquatable<AnnotationBase>equals in class AnnotationBaseo - The object to compare with the current objectpublic final boolean equals(WatermarkAnnotation other)
Compares Watermark Annotations using IEquatable Equals method
other - The WatermarkAnnotation object to compare with the current objectpublic final Double getAngle()
Gets or sets watermark rotation angle
public final Boolean getAutoScale()
Gets or sets auto scale for watermar
public final Rectangle getBox()
Gets or sets annotation position
public final Integer getFontColor()
Gets or sets watermark text font color
getFontColor in interface IFontColorpublic final String getFontFamily()
Gets or sets watermark text font family
getFontFamily in interface IFontFamilypublic final Double getFontSize()
Gets or sets watermark text font size
getFontSize in interface IFontSizepublic final Integer getHorizontalAlignment()
Gets or sets watermark horizontal alignment on document
getHorizontalAlignment in interface com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IHorizontalAlignmentpublic final Double getOpacity()
Gets or sets annotation opacity
getOpacity in interface IOpacitypublic final String getText()
Gets or sets watermark text
public final Integer getVerticalAlignment()
Gets or sets watermark vertical alignment on document
getVerticalAlignment in interface com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IVerticalAlignmentpublic int hashCode()
Returns HashCode of Watermark Annotation
hashCode in class AnnotationBasepublic final void setAngle(Double value)
Gets or sets watermark rotation angle
public final void setAutoScale(Boolean value)
Gets or sets auto scale for watermar
value - public final void setBox(Rectangle value)
Gets or sets annotation position
public final void setFontColor(Integer value)
Gets or sets watermark text font color
setFontColor in interface IFontColorvalue - public final void setFontFamily(String value)
Gets or sets watermark text font family
setFontFamily in interface IFontFamilyvalue - public final void setFontSize(Double value)
Gets or sets watermark text font size
setFontSize in interface IFontSizevalue - public final void setHorizontalAlignment(Integer value)
Gets or sets watermark horizontal alignment on document
setHorizontalAlignment in interface com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IHorizontalAlignmentvalue - public final void setOpacity(Double value)
Gets or sets annotation opacity
setOpacity in interface IOpacityvalue - public final void setText(String value)
Gets or sets watermark text
public final void setVerticalAlignment(Integer value)
Gets or sets watermark vertical alignment on document
setVerticalAlignment in interface com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IVerticalAlignmentvalue - public String toString()
toString in class AnnotationBasepublic String toString(org.apache.commons.lang3.builder.ToStringStyle toStringStyle)
toString in class AnnotationBaseCopyright © 2024. All rights reserved.