[]
Represents a sticky note attached to a point in a PDF document.
public class TextAnnotation : MarkupAnnotation, IOwnedObject, IContentItem, IPdfDict
Initializes a new instance of the TextAnnotation class.
public TextAnnotation()
Gets or sets the type of the icon used to display the annotation.
public TextAnnotationIcon Icon { get; set; }
Gets or sets a flag specifying whether the annotation should initially be displayed open.
public bool Open { get; set; }
Gets or sets the state to which the original annotation shall be set.
The following describes the predefined combinations of State and StateModel, and their meanings:
public string State { get; set; }
public string StateModel { get; set; }
Returns the size of the specified TextAnnotationIcon.
public static SizeF GetIconSize(TextAnnotationIcon icon, float dpiX = 72, float dpiY = 72)
icon TextAnnotationIconThe TextAnnotationIcon value specifies the icon.
dpiX floatThe horizontal resolution used to calculate bounds of the icon.
dpiY floatThe vertical resolution used to calculate bounds of the icon.