TX Sheet Control

FontManager Interface

Interface

Loads document fonts and exposes font choices, layout metrics and deterministic document rendering assets.

Package: @txtextcontrol/tx-sheet-control-server. Version: 2.0.0.

Related workbook object-model type, returned through the server control. Obtain it from its owning workbook or collection; it is not a required browser-package import.

Members

Properties

PropertyDescription
readyResolves after runtime catalog discovery. Rejects on missing or malformed catalogs.

Methods

MethodDescription
choicesThe choices operation of FontManager.
ensureStyleThe ensureStyle operation of FontManager.
ensureWorkbookThe ensureWorkbook operation of FontManager.
onChangeThe onChange operation of FontManager.
stateThe state operation of FontManager.

Examples

Pass the FontManager value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.

async function inspectFontManagerReady(fontManager: { ready: unknown }) {
    const value = await fontManager['ready'];
    console.log('FontManager.ready', value);
}

See Also