Document save event callback function

{
onDocSave: (doc: DocType, filePath: string, procData: LPVOIDType) => {
console.log('Document saving processing function:', doc, filePath, procData);
}
}
interface DocSaveProcCallbacksType {
    onDocSave?: (
        doc: DocType,
        filePath: string,
        procData: LPVOIDType,
    ) => void;
}

Properties

Properties

onDocSave?: (doc: DocType, filePath: string, procData: LPVOIDType) => void

Prototype of callback function invoked by Foxit Reader when performs Save

Type declaration

    • (doc: DocType, filePath: string, procData: LPVOIDType): void
    • Parameters

      • doc: DocType

        The document to be saved as.

      • filePath: string

        The path where the document to be saved.

      • procData: LPVOIDType

        The client data.

      Returns void