ComPDF React Native - v3.0.0
    Preparing search index...

    Variable CPDFEventConst

    CPDFEvent: {
        ANNOTATIONS_CREATED: "annotationsCreated";
        PENCIL_DRAWING_COMPLETED: "pencilDrawingCompleted";
        PENCIL_DRAWING_DISCARDED: "pencilDrawingDiscarded";
        ANNOTATIONS_SELECTED: "annotationsSelected";
        ANNOTATIONS_DESELECTED: "annotationsDeselected";
        FORM_FIELDS_CREATED: "formFieldsCreated";
        FORM_FIELDS_SELECTED: "formFieldsSelected";
        FORM_FIELDS_DESELECTED: "formFieldsDeselected";
        EDITOR_SELECTION_SELECTED: "editorSelectionSelected";
        EDITOR_SELECTION_DESELECTED: "editorSelectionDeselected";
    } = ...

    Type Declaration

    • ReadonlyANNOTATIONS_CREATED: "annotationsCreated"

      Fired when an annotation is created. Data type: CPDFAnnotation and its subclasses.

    • ReadonlyPENCIL_DRAWING_COMPLETED: "pencilDrawingCompleted"

      Fired when a pencil drawing is saved. Data type: { type: 'pencil'; pageIndex: number }.

    • ReadonlyPENCIL_DRAWING_DISCARDED: "pencilDrawingDiscarded"

      Fired when a pencil drawing is discarded. Data type: { type: 'pencil'; pageIndex: number }.

    • ReadonlyANNOTATIONS_SELECTED: "annotationsSelected"

      Fired when an annotation is selected. Data type: CPDFAnnotation and its subclasses.

    • ReadonlyANNOTATIONS_DESELECTED: "annotationsDeselected"

      Fired when an annotation is deselected. Data type: CPDFAnnotation and its subclasses. Data may be null.

    • ReadonlyFORM_FIELDS_CREATED: "formFieldsCreated"

      Fired when a form field is created. Data type: CPDFWidget and its subclasses.

    • ReadonlyFORM_FIELDS_SELECTED: "formFieldsSelected"

      Fired when a form field is selected. Data type: CPDFWidget and its subclasses.

    • ReadonlyFORM_FIELDS_DESELECTED: "formFieldsDeselected"

      Fired when a form field is deselected. Data type: CPDFWidget and its subclasses. Data may be null.

    • ReadonlyEDITOR_SELECTION_SELECTED: "editorSelectionSelected"

      Fired when a content editor element is selected. Data type: CPDFEditArea and its subclasses. image: CPDFEditImageArea text: CPDFEditTextArea

    • ReadonlyEDITOR_SELECTION_DESELECTED: "editorSelectionDeselected"

      Fired when a content editor element is deselected. No data returned.