Class ReplacementAnnotation

ReplacementAnnotation class

Represents replacement annotation properties

public class ReplacementAnnotation : AnnotationBase, IEquatable<ReplacementAnnotation>, 
    IReplacementAnnotation

Constructors

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

Properties

Name Description
BackgroundColor { get; set; } Gets or sets replacement annotation background color
CreatedOn { get; set; } Gets or sets annotation creation date
FontColor { get; set; } Gets or sets replacement annotation text color
FontSize { get; set; } Gets or sets replacement annotation text size
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 replacement 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
TextToReplace { get; set; } Gets or sets text to be replaced with
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
override Equals(object) Compares replacement annotation using standard object Equals method
Equals(ReplacementAnnotation) Compares replacement annotation using IEquatable Equals method
override GetHashCode() Returns HashCode of the replacement annotation

Remarks

Learn more

See Also