Class HighlightAnnotation

HighlightAnnotation class

Represents highlight annotation properties

public class HighlightAnnotation : AnnotationBase, IEquatable<HighlightAnnotation>, 
    IHighlightAnnotation

Constructors

Name Description
HighlightAnnotation() Initializes new instance of HighlightAnnotation class.

Properties

Name Description
BackgroundColor { get; set; } Gets or sets highlight annotation background color
CreatedOn { get; set; } Gets or sets annotation creation date
FontColor { get; set; } Gets or sets highlight annotation text font color
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 highlight annotation opacity
PageNumber { get; set; } Page number where the annotation should be located
Points { get; set; } Gets or sets collection of points that describe rectangles with text
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 with the same values
Equals(AnnotationBase) Compares Base Annotations using IEquatable Equals method
Equals(HighlightAnnotation) Compares highlight annotation using IEquatable Equals method
override Equals(object) Compares highlight annotations using standard object Equals method
override GetHashCode() Returns HashCode of the highlight annotation

Remarks

Learn more

See Also