Class ImageAnnotation

ImageAnnotation class

Represents image annotation properties

public class ImageAnnotation : AnnotationBase, IAngle, IBox, IEquatable<ImageAnnotation>, IOpacity

Constructors

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

Properties

Name Description
Angle { get; set; } Gets or sets image annotation rotation angle
Box { get; set; } Gets or sets image 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.
ImageData { get; set; } Gets or sets image annotation data
ImageExtension { get; } Gets the image extensions (png, jpg, svg etc)
ImagePath { get; set; } Gets or sets image annotation path
Message { get; set; } Gets or sets annotation message
Opacity { get; set; } Gets or sets image annotation opacity
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
Type { get; set; } Gets or sets annotation type
User { get; set; } Gets or sets annotation author
ZIndex { get; set; } Gets or sets image annotation z-index. Default value is 0

Methods

Name Description
override Clone() Returns new instance with the same values
Equals(AnnotationBase) Compares Base Annotations using IEquatable Equals method
Equals(ImageAnnotation) Compares image annotation using IEquatable Equals method
override Equals(object) Compares image annotation using standard object Equals method
override GetHashCode() Returns HashCode of Image Annotation
GetImage() Gets image object

Remarks

Learn more

See Also