Class AreaAnnotation
Contents
[
Hide
]
AreaAnnotation class
Represents area annotation properties
public class AreaAnnotation : AnnotationBase, IAreaAnnotation, IEquatable<AreaAnnotation>
Constructors
| Name | Description |
|---|---|
| AreaAnnotation() | Initializes new instance of AreaAnnotation class. |
Properties
| Name | Description |
|---|---|
| BackgroundColor { get; set; } | Gets or sets area annotation background color |
| Box { get; set; } | Gets or sets area annotation position |
| CreatedOn { get; set; } | Gets or sets annotation creation date |
| Id { get; set; } | Gets or sets annotation unique identifier. This field is auto-incremented. |
| Message { get; set; } | Gets or sets annotation message |
| Opacity { get; set; } | Gets or sets area annotation opacity |
| PageNumber { get; set; } | Page number where the annotation should be located |
| PenColor { get; set; } | Gets or sets area annotation pen color |
| PenStyle { get; set; } | Gets or sets area annotation pen style |
| PenWidth { get; set; } | Gets or sets area annotation pen width |
| 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 |
| Type { get; set; } | Gets or sets annotation type |
| User { get; set; } | Gets or sets annotation author |
Methods
| Name | Description |
|---|---|
| override Clone() | Returns new instance of the area annotation with the same values |
| Equals(AnnotationBase) | Compares Base Annotations using IEquatable Equals method |
| Equals(AreaAnnotation) | Compares area annotation using IEquatable Equals method |
| override Equals(object) | Compares area annotation using standard object Equals method |
| override GetHashCode() | Returns HashCode of Area Annotation instance |
Remarks
Learn more
- More about annotation types and annotating PDF and Microsoft Word documents, Excel spreadsheets and PowerPoint Presentations: How to annotate documents using GroupDocs.Annotation for .NET
- More about adding area annotations to documents of various types: How to add area annotations in C#
See Also
- class AnnotationBase
- interface IAreaAnnotation
- namespace GroupDocs.Annotation.Models.AnnotationModels
- assembly GroupDocs.Annotation