[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Annotations.TextAnnotation

TextAnnotation Class

Represents a sticky note attached to a point in a PDF document.

Namespace: GrapeCity.Documents.Pdf.Annotations
Assembly: DS.Documents.Pdf.dll
Syntax
public class TextAnnotation : MarkupAnnotation, IOwnedObject, IContentItem, IPdfDict
Public Class TextAnnotation
    Inherits MarkupAnnotation
    Implements IOwnedObject, IContentItem, IPdfDict

Constructors

Name Description
TextAnnotation()

Initializes a new instance of the TextAnnotation class.

Properties

Name Description
Icon

Gets or sets the type of the icon used to display the annotation.

Open

Gets or sets a flag specifying whether the annotation should initially be displayed open.

State

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:

    See PDF specification for more details.
    StateModel

    Gets or sets the state model corresponding to State.

    See State and PDF specification for details.

    Methods

    Name Description
    GetIconSize(TextAnnotationIcon, float, float)

    Returns the size of the specified TextAnnotationIcon.

    Extension Methods