PDF Web SDK Documentation

Comprehensive Guide for Developers: UI & SDK Integration, Configuration, and API Reference

PDF Web SDK
    Preparing search index...

    Interface IConvertOptions

    Progress and cancellation for converters that run locally, page by page (convertToText, convertToImages, extractStructuredContent, convertToJson, convertToMarkdown).

    interface IConvertOptions {
        onProgress?: (completedPages: number, totalPages: number) => void;
        signal?: AbortSignal;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    onProgress?: (completedPages: number, totalPages: number) => void

    Called after each processed page.

    signal?: AbortSignal

    Checked before each page; once aborted, the call rejects with signal.reason (an AbortError DOMException by default).