Class DistanceAnnotation

DistanceAnnotation class

Represents distance annotation properties

public class DistanceAnnotation : AnnotationBase, IDistanceAnnotation, 
    IEquatable<DistanceAnnotation>

Constructors

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

Properties

Name Description
Box { get; set; } Gets or sets distance 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 distance annotatio opacity
PageNumber { get; set; } Page number where the annotation should be located
PenColor { get; set; } Gets or sets distance annotatio pen color
PenStyle { get; set; } Gets or sets distance annotatio pen style
PenWidth { get; set; } Gets or sets distance annotatio 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 with the same values
Equals(AnnotationBase) Compares Base Annotations using IEquatable Equals method
Equals(DistanceAnnotation) Compares distance annotation using IEquatable Equals method
override Equals(object) Compares distance annotation using standard object Equals method
override GetHashCode() Returns HashCode of the distance annotation

Remarks

Learn more

See Also