@qrcommunication/gigapdf-lib — SDK API reference - v0.110.3
    Preparing search index...

    Interface DocumentLanguage

    The aggregate language signal of a document from GigaPdfDoc.documentLanguage: its dominant reading direction, writing system, and a best-effort ISO-639-1 language code ("ar", "he", "zh"/"ja"…), undefined when the script does not pin a single language (e.g. plain Latin).

    interface DocumentLanguage {
        direction: "ltr" | "rtl" | "neutral";
        script: string;
        lang?: string;
    }
    Index

    Properties

    direction: "ltr" | "rtl" | "neutral"
    script: string

    Dominant script: "arabic" | "hebrew" | "latin" | "greek" | "cyrillic" | "cjk" | "other".

    lang?: string

    Best-effort ISO-639-1 code, or undefined when undecidable.