SearchTextFragment
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.annotation.models.annotationmodels.AnnotationBase
All Implemented Interfaces: com.groupdocs.annotation.models.annotationmodels.interfaces.annotations.ISearchTextFragment
public class SearchTextFragment extends AnnotationBase implements ISearchTextFragment
Represents Search Text annotation properties
| Constructor | Description |
|---|---|
| SearchTextFragment() | Initializes new instance of SearchTextFragment class. |
| Method | Description |
|---|---|
| getBackgroundColor() | Gets or sets annotation background color |
| setBackgroundColor(Integer value) | Gets or sets annotation background color |
| getText() | Gets or sets text |
| setText(String value) | Gets or sets text |
| 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 |
| equals(SearchTextFragment other) | Compares Search Text Annotations using IEquatable Equals method |
| equals(Object o) | Compares Search Text Annotations using standard object Equals method |
| hashCode() | Returns HashCode of Search Text Annotation |
| deepClone() | Returns new Instance with same values |
| toString() | |
| toString(ToStringStyle toStringStyle) |
public SearchTextFragment()
Initializes new instance of SearchTextFragment class.
public final Integer getBackgroundColor()
Gets or sets annotation background color
Returns: java.lang.Integer
public final void setBackgroundColor(Integer value)
Gets or sets annotation background color
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.Integer |
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 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 boolean equals(SearchTextFragment other)
Compares Search Text Annotations using IEquatable Equals method
Parameters:
| Parameter | Type | Description |
|---|---|---|
| other | SearchTextFragment | The SearchTextFragment object to compare with the current object |
Returns: boolean
public boolean equals(Object o)
Compares Search Text 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 Search Text 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.