SearchTextFragment class
SearchTextFragment class
Represents searchText annotation properties.
Learn more
- More about annotation types and annotating PDF: How to annotate documents using GroupDocs.Annotation for .NET (https://docs.groupdocs.com/display/annotationnet/Add+annotation+to+the+document)
- More about adding searchText annotations to documents of various types: How to add searchText annotations in C# (https://docs.groupdocs.com/display/annotationnet/Add+searchText+annotation)
The SearchTextFragment type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
| init | Initializes a new instance of SearchTextFragment. |
Methods
| Method | Description |
|---|---|
| clone | Returns a new instance with the same values. |
| equals | Compares search text annotation using IEquatable Equals method. |
| equals | Compares search text annotation using standard object Equals method. |
| equals_object | |
| equals_search_text_fragment | |
| get_hash_code | Returns HashCode of SearchText Annotation. |
| equals_annotation_base | (inherited from AnnotationBase) |
Properties
| Property | Description |
|---|---|
| background_color | The text background color. |
| font_color | The text color. |
| font_family | The text font family. |
| font_size | The text size. |
| text | The text that needs to be found. |
| created_on | The annotation creation date. (inherited from AnnotationBase) |
| id | The annotation unique identifier. This field is auto-incremented. (inherited from AnnotationBase) |
| message | The annotation message. (inherited from AnnotationBase) |
| page_number | The page number where the annotation should be located. (inherited from AnnotationBase) |
| replies | The list of replies (comments) attached to the annotation. (inherited from AnnotationBase) |
| state_before_annotation | The previous state of the text before annotating. (inherited from AnnotationBase) |
| type | The annotation type. (inherited from AnnotationBase) |
| user | The annotation author. (inherited from AnnotationBase) |