GemBox.PdfViewer
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    AnnotationOptions Interface

    Namespace:
    @gembox/pdfviewer
    Assembly:
    @gembox/pdfviewer

    Represents options for creating or modifying an annotation.

    • TypeScript
    export declare interface AnnotationOptions
    Remarks

    This interface defines the properties needed to configure an annotation, including its location, type, appearance, and content.

    Fields

    pageIndex

    Gets the index of the page where this annotation is located.

    • TypeScript
    readonly pageIndex: number;
    Remarks

    This value represents the zero-based index of the page in the PDF document.

    type

    Gets or sets the type of this annotation.

    • TypeScript
    readonly type: AnnotationType;
    Field Value
    AnnotationType
    Remarks

    The annotation type categorizes the annotation (e.g., text, highlight, underline).

    name

    Gets or sets the name or title of this annotation.

    • TypeScript
    name: string;
    Remarks

    This is typically a short descriptive label for the annotation.

    description

    Gets or sets the description or content of this annotation.

    • TypeScript
    description: string;
    Remarks

    This contains the main text or content associated with the annotation.

    height

    Gets or sets the height of this annotation in points.

    • TypeScript
    height: number;
    Remarks

    This value represents the vertical dimension of the annotation on the page.

    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.