Class SearchTextFragment
Leave feedback
On this page
Represents searchText annotation properties
public class SearchTextFragment : AnnotationBase, IEquatable<SearchTextFragment>,
ISerachTextFragment
| Name | Description |
|---|---|
| SearchTextFragment() | Initializes new instance of SearchTextFragment class. |
| Name | Description |
|---|---|
| BackgroundColor { get; set; } | Gets or sets text background color |
| CreatedOn { get; set; } | Gets or sets annotation creation date |
| FontColor { get; set; } | Gets or sets text color |
| FontFamily { get; set; } | Gets or sets text font family |
| FontSize { get; set; } | Gets or sets text size |
| Id { get; set; } | Gets or sets annotation unique identifier. This field is auto-incremented. |
| Message { get; set; } | Gets or sets annotation message |
| PageNumber { get; set; } | Page number where the annotation should be located |
| Replies { get; set; } | The list of replies (comments) attached to the annotation |
| StateBeforeAnnotation { get; set; } | Stores the previous state of the text. State that was before annotating |
| Text { get; set; } | Gets or sets that need to be found |
| Type { get; set; } | Gets or sets annotation type |
| User { get; set; } | Gets or sets annotation author |
| Name | Description |
|---|---|
| override Clone() | Returns new instance with the same values |
| Equals(AnnotationBase) | Compares Base Annotations using IEquatable Equals method |
| override Equals(object) | Compares search text annotation using standard object Equals method |
| Equals(SearchTextFragment) | Compares search text annotation using IEquatable Equals method |
| override GetHashCode() | Returns HashCode of SearchText Annotation |
Learn more
- More about annotation types and annotating PDF: How to annotate documents using GroupDocs.Annotation for .NET
- More about adding searchText annotations to documents of various types: How to add searchText annotations in C#
- class AnnotationBase
- interface ISerachTextFragment
- namespace GroupDocs.Annotation.Models.AnnotationModels
- assembly GroupDocs.Annotation
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.