public class SearchTextFragment extends AnnotationBase implements ISearchTextFragment
Represents Search Text annotation properties
| Constructor and Description |
|---|
SearchTextFragment()
Initializes new instance of
SearchTextFragment class. |
| Modifier and Type | Method and Description |
|---|---|
Object |
deepClone()
Returns new Instance with same values
|
boolean |
equals(Object o)
Compares Search Text Annotations using standard object Equals method
|
boolean |
equals(SearchTextFragment other)
Compares Search Text Annotations using IEquatable Equals method
|
Integer |
getBackgroundColor()
Gets or sets annotation background color
|
Integer |
getFontColor()
Gets or sets annotation text font color
|
String |
getFontFamily()
Gets or sets annotation text font family
|
Double |
getFontSize()
Gets or sets annotation text font size
|
String |
getText()
Gets or sets text
|
int |
hashCode()
Returns HashCode of Search Text Annotation
|
void |
setBackgroundColor(Integer value)
Gets or sets annotation background color
|
void |
setFontColor(Integer value)
Gets or sets annotation text font color
|
void |
setFontFamily(String value)
Gets or sets annotation text font family
|
void |
setFontSize(Double value)
Gets or sets annotation text font size
|
void |
setText(String value)
Gets or sets text
|
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 SearchTextFragment()
Initializes new instance of SearchTextFragment 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 Search Text 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(SearchTextFragment other)
Compares Search Text Annotations using IEquatable Equals method
other - The SearchTextFragment object to compare with the current objectpublic final Integer getBackgroundColor()
Gets or sets annotation background color
getBackgroundColor in interface IBackgroundColorpublic final Integer getFontColor()
Gets or sets annotation text font color
getFontColor in interface IFontColorpublic final String getFontFamily()
Gets or sets annotation text font family
getFontFamily in interface IFontFamilypublic final Double getFontSize()
Gets or sets annotation text font size
getFontSize in interface IFontSizepublic final String getText()
Gets or sets text
public int hashCode()
Returns HashCode of Search Text Annotation
hashCode in class AnnotationBasepublic final void setBackgroundColor(Integer value)
Gets or sets annotation background color
setBackgroundColor in interface IBackgroundColorvalue - public final void setFontColor(Integer value)
Gets or sets annotation text font color
setFontColor in interface IFontColorvalue - public final void setFontFamily(String value)
Gets or sets annotation text font family
setFontFamily in interface IFontFamilyvalue - public final void setFontSize(Double value)
Gets or sets annotation text font size
setFontSize in interface IFontSizevalue - public final void setText(String value)
Gets or sets text
public String toString()
toString in class AnnotationBasepublic String toString(org.apache.commons.lang3.builder.ToStringStyle toStringStyle)
toString in class AnnotationBaseCopyright © 2024. All rights reserved.