Nutrient Web SDK
    Preparing search index...

    Interface TextBlockSummary

    Summary of a text block on the live session. The "text" member of Block.

    interface TextBlockSummary {
        anchor: { x: number; y: number };
        boundingBox: { height: number; left: number; top: number; width: number };
        id: string;
        layout: { maxWidth: number | null };
        pageIndex: number;
        style: {
            bold: boolean | null;
            color: string | null;
            family: string | null;
            italic: boolean | null;
            size: number | null;
        };
        text: string;
        type: "text";
    }
    Index

    Properties

    anchor: { x: number; y: number }
    boundingBox: { height: number; left: number; top: number; width: number }
    id: string

    Opaque block identifier. Do not parse; use pageIndex for page information.

    layout: { maxWidth: number | null }
    pageIndex: number
    style: {
        bold: boolean | null;
        color: string | null;
        family: string | null;
        italic: boolean | null;
        size: number | null;
    }
    text: string
    type: "text"

    Discriminant — narrow the Block union on this.