ComPDFKit Web SDK
    Preparing search index...

    Function setCustomSerializeHandler

    • Sets a handler that changes the exported XFDF element of each annotation of a class.

      Parameters

      • cls: Ctor<Core.Annotations.Annotation>

        The annotation class.

      • handler: SerializeHandler | null

        Receives the XFDF element string, the page matrix and an object with the annotation and its original serialize function; returns the element to export. null removes the handler.

      Returns void