Class WatermarkAnnotation
Contents
[
Hide
]
WatermarkAnnotation class
Represents watermark annotation properties
public class WatermarkAnnotation : AnnotationBase, IEquatable<WatermarkAnnotation>,
IWatermarkAnnotation
Constructors
Name | Description |
---|---|
WatermarkAnnotation() | Initializes new instance of WatermarkAnnotation class. |
Properties
Name | Description |
---|---|
Angle { get; set; } | Gets or sets watermark annotation rotation angle |
AutoScale { get; set; } | Gets or sets auto scale for watermark annotation |
Box { get; set; } | Gets or sets watermark annotation position |
CreatedOn { get; set; } | Gets or sets annotation creation date |
FontColor { get; set; } | Gets or sets watermark annotation text color |
FontFamily { get; set; } | Gets or sets watermark annotation text font family |
FontSize { get; set; } | Gets or sets watermark annotation text size |
HorizontalAlignment { get; set; } | Gets or sets watermark horizontal alignment on document |
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 watermark 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 |
Text { get; set; } | Gets or sets watermark text |
Type { get; set; } | Gets or sets annotation type |
User { get; set; } | Gets or sets annotation author |
VerticalAlignment { get; set; } | Gets or sets watermark vertical alignment on document |
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 watermark annotation using standard object Equals method |
Equals(WatermarkAnnotation) | Compares watermark annotation using IEquatable Equals method |
override GetHashCode() | Returns HashCode of the watermark annotation |
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 watermark annotations to documents of various types: How to add watermark annotations in C#
See Also
- class AnnotationBase
- interface IWatermarkAnnotation
- namespace GroupDocs.Annotation.Models.AnnotationModels
- assembly GroupDocs.Annotation