SDK API reference
Every class and namespace the package exports, with the events, errors, enums and types they use.
KernstraThe SDK entry point: all members are static.9 members →PDFDocumentAn open PDF: loaded through one of four static factories, read through its properties, changed through its namespaces (pages, annotations,…26 members →PagesApiThe Manage Pages panel, headless: the panel's actions do what these members do.11 members →AnnotationsApiThe Highlight, Note, Link and shape tools and the selection bar's text marks, headless: create() writes highlights, underlines, squiggly…11 members →FormsApiForm filling, headless — the same rules as typing into the fields.4 members →TextApiReading and searching text.2 members →SecurityApiThe Security dialog, headless.5 members →OutlineApiThe Outline panel, headless: the bookmark tree, read whole and edited one bookmark at a time.5 members →AttachmentsApiThe Attachments panel, headless: the document's embedded files.4 members →SignaturesApiThe Signatures panel, headless.1 members →PDFViewerThe viewer: renders a PDFDocument inside a DOM container and wires its pages, form fields, toolbar, sidebar and tools.42 members →ToolsApiThe running tools a viewer exposes to code, reached as viewer.tools.1 members →EditTextToolApiThe Edit Text tool, drivable from code.8 members →PDFExporterWrites the document out: to a download, a Blob, an ArrayBuffer, a base64 string, or an upload.5 members →FontRegistryLoads fonts outside a viewer — for a font picker of your own, or to check what a font covers.5 members →SDKErrorThe error the SDK throws and reports.5 members →EventEmitterThe type behind on and off.4 members →HelpersStandalone functions the package exports beside the classes.7 members →EventsSubscribe to what the person is doing and to lifecycle changes.Open →ErrorsEvery failure the SDK reports is an SDKError with a stable code you can switch on.Open →Enums and constantsFrozen objects whose values you compare against, and the constants the package exports so you never restate a default.Open →TypesShapes returned by, or accepted by, the SDK API.Open →Coverage matrixEvery tool, and exactly how much of it is reachable without the interface.Open →