PDF Web SDK Documentation

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

PDF Web SDK
    Preparing search index...

    Interface IPdfContentBlock

    A paragraph-level block of text with its role.

    interface IPdfContentBlock {
        bbox: PdfBBox;
        id: string;
        level?: 1 | 2 | 3 | 4 | 5 | 6;
        lines?: IPdfContentLine[];
        listMarker?: string;
        ordered?: boolean;
        role: PdfContentRole;
        text: string;
    }
    Index

    Properties

    bbox: PdfBBox
    id: string

    p{pageNumber}-b{n}, stable within one export (use it for citations).

    level?: 1 | 2 | 3 | 4 | 5 | 6

    Heading level, set for heading blocks.

    lines?: IPdfContentLine[]

    Present when PdfContentKind.Layout is included.

    listMarker?: string

    Source list marker (e.g. •, 1.), set for listItem blocks.

    ordered?: boolean

    Whether the list item is numbered/lettered, set for listItem blocks.

    text: string