Search Results for

    Show / Hide Table of Contents

    Class TextAnnotation

    Defines a Sticky-Note style PDF annotation. AddTextAnnotation(TextAnnotation, Int32, Int32, Int32, Int32, Int32)

    Inheritance
    System.Object
    TextAnnotation
    Namespace: IronPdf.Annotations
    Assembly: IronPdf.dll
    Syntax
    public class TextAnnotation : Object

    Constructors

    TextAnnotation()

    Declaration
    public TextAnnotation()

    Properties

    Color

    The color of the annotation's 'Sticky Note'

    Declaration
    public Nullable<Color> Color { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Drawing.Color>

    Contents

    The contents of the 'sticky note' annotation

    Declaration
    public string Contents { get; set; }
    Property Value
    Type Description
    System.String

    Hidden

    Hides the annotation from users

    Declaration
    public bool Hidden { get; set; }
    Property Value
    Type Description
    System.Boolean

    Icon

    An icon to visually represent the 'sticky note' annotation

    Declaration
    public TextAnnotation.AnnotationIcon Icon { get; set; }
    Property Value
    Type Description
    TextAnnotation.AnnotationIcon

    Opacity

    The opacity of the annotation (valid values are from 0.0 to 1.0)

    Declaration
    public double Opacity { get; set; }
    Property Value
    Type Description
    System.Double

    OpenByDefault

    Sets the annotation to be opened and readable by default, without user interaction

    Declaration
    public bool OpenByDefault { get; set; }
    Property Value
    Type Description
    System.Boolean

    Printable

    Allows the annotation to be printed when users print the PDF

    Declaration
    public bool Printable { get; set; }
    Property Value
    Type Description
    System.Boolean

    ReadOnly

    Allows the annotation to be printed when users print the PDF

    Declaration
    public bool ReadOnly { get; set; }
    Property Value
    Type Description
    System.Boolean

    Rotateable

    Allows the annotation to be rotated. E.g. when the containing page os rotated

    Declaration
    public bool Rotateable { get; set; }
    Property Value
    Type Description
    System.Boolean

    Subject

    The sub title of the annotation as displayed in the header of the 'sticky note'

    Declaration
    public string Subject { get; set; }
    Property Value
    Type Description
    System.String

    Title

    The main title of the annotation as displayed in the header of the 'sticky note'

    Declaration
    public string Title { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    ToString()

    Returns a System.String that represents this annotation.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    A System.String that represents this instance.

    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget
    Want to deploy IronPDF to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronPDF free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.