DsPdfJS API - v9.1.0
    Preparing search index...

    Type Alias MarkupAnnotationProperties

    MarkupAnnotationProperties: AnnotationBaseProperties & {
        color?: Color;
        creationDate?: PdfDateTime;
        opacity?: number;
        popup?: PopupAnnotation | PopupAnnotationProperties;
        reference?: { target: MarkupAnnotation; type?: AnnotationReferenceType };
        richText?: string;
        subject?: string;
        userName?: string;
    }

    The common properties for markup annotations that are used primarily to mark up PDF documents.

    Type Declaration

    • Optionalcolor?: Color

      The annotation color, it used as color of popup window, lines color etc.

    • OptionalcreationDate?: PdfDateTime

      The date and time when the annotation was created.

    • Optionalopacity?: number

      The opacity value to be used in painting the annotation. This value applies to all visible elements of the annotation in its closed state (including its background and border) but not to the pop-up window that appears when the annotation is opened. Not specified means 1 (means 100% opacity)

    • Optionalpopup?: PopupAnnotation | PopupAnnotationProperties

      The PopupAnnotation or PopupAnnotationProperties object for entering or editing text associated with this annotation. Setting this property changes the PopupAnnotation#parent property. A separate PopupAnnotation allows defining additional properties of the popup window: color, position etc.

    • Optionalreference?: { target: MarkupAnnotation; type?: AnnotationReferenceType }

      The annotation referenced by this annotation.

      • target: MarkupAnnotation

        The annotation referenced by this annotation.

      • Optionaltype?: AnnotationReferenceType

        The relationship (reference type) between this annotation and the annotation specified by the 'target' property. The referenced annotation should be on the same page with the current annotation. Not specified means "Reply".

    • OptionalrichText?: string

      The text to be displayed in the pop-up window when the annotation is opened. This text can be formatted using HTML tags, see PDF specification for details.

    • Optionalsubject?: string

      The text representing a short description of the subject being addressed by the annotation.

    • OptionaluserName?: string

      The text label to be displayed in the title bar of the annotation's pop-up window when open and active. By convention, this entry identifies the user who added the annotation.