TextFieldAnnotation
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.annotation.models.annotationmodels.AnnotationBase, com.groupdocs.annotation.models.annotationmodels.AnnotationBaseProps
All Implemented Interfaces: com.groupdocs.annotation.models.annotationmodels.interfaces.annotations.ITextFieldAnnotation
public class TextFieldAnnotation extends AnnotationBaseProps implements ITextFieldAnnotation
Represents Text field annotation properties
| Constructor | Description |
|---|---|
| TextFieldAnnotation() | Initializes new instance of TextFieldAnnotation class. |
| Method | Description |
|---|---|
| getText() | Gets or sets text |
| setText(String value) | Gets or sets text |
| getTextHorizontalAlignment() | Gets or sets text horizontal alignment |
| setTextHorizontalAlignment(Integer value) | Gets or sets text horizontal alignment |
| getFontColor() | Gets or sets annotation text font color |
| setFontColor(Integer value) | Gets or sets annotation text font color |
| getFontFamily() | Gets or sets annotation text font family |
| setFontFamily(String value) | Gets or sets annotation text font family |
| getFontSize() | Gets or sets annotation text font size |
| setFontSize(Double value) | Gets or sets annotation text font size |
| getPenStyle() | Gets or sets annotation pen style |
| setPenStyle(Byte value) | Gets or sets annotation pen style |
| equals(TextFieldAnnotation other) | Compares Text Field Annotations using IEquatable Equals method |
| equals(Object o) | Compares Text Field Annotations using standard object Equals method |
| hashCode() | Returns HashCode of Text Field Annotation |
| deepClone() | Returns new Instance with same values |
| toString() | |
| toString(ToStringStyle toStringStyle) |
public TextFieldAnnotation()
Initializes new instance of TextFieldAnnotation class.
public final String getText()
Gets or sets text
Returns: java.lang.String -
public final void setText(String value)
Gets or sets text
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String |
public final Integer getTextHorizontalAlignment()
Gets or sets text horizontal alignment
Returns: java.lang.Integer -
public final void setTextHorizontalAlignment(Integer value)
Gets or sets text horizontal alignment
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.Integer |
public final Integer getFontColor()
Gets or sets annotation text font color
Returns: java.lang.Integer -
public final void setFontColor(Integer value)
Gets or sets annotation text font color
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.Integer |
public final String getFontFamily()
Gets or sets annotation text font family
Returns: java.lang.String -
public final void setFontFamily(String value)
Gets or sets annotation text font family
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String |
public final Double getFontSize()
Gets or sets annotation text font size
Returns: java.lang.Double -
public final void setFontSize(Double value)
Gets or sets annotation text font size
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.Double |
public final Byte getPenStyle()
Gets or sets annotation pen style
Returns: java.lang.Byte -
public final void setPenStyle(Byte value)
Gets or sets annotation pen style
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.Byte |
public final boolean equals(TextFieldAnnotation other)
Compares Text Field Annotations using IEquatable Equals method
Parameters:
| Parameter | Type | Description |
|---|---|---|
| other | TextFieldAnnotation | The TextFieldAnnotation object to compare with the current object |
Returns: boolean
public boolean equals(Object o)
Compares Text Field Annotations using standard object Equals method
Parameters:
| Parameter | Type | Description |
|---|---|---|
| o | java.lang.Object | The object to compare with the current object |
Returns: boolean
public int hashCode()
Returns HashCode of Text Field Annotation
Returns: int
public Object deepClone()
Returns new Instance with same values
Returns: java.lang.Object
public String toString()
Returns: java.lang.String
public String toString(ToStringStyle toStringStyle)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| toStringStyle | org.apache.commons.lang3.builder.ToStringStyle |
Returns: java.lang.String
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.