ComPDFKit Web SDK
    Preparing search index...

    Function setCustomDeserializeHandler

    • Sets a handler called on each imported annotation of a class with its XFDF element.

      Parameters

      • cls: Ctor<Core.Annotations.Annotation>

        The annotation class.

      • handler: DeserializeHandler | null

        Receives the XFDF element string, the page matrix and an object with the annotation and its original deserialize function. null removes the handler.

      Returns void