TX Sheet Control

FontLoadResult Interface

Interface

Outcome of loading a specific catalog face.

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
familyThe family value of FontLoadResult.
statusThe status value of FontLoadResult.
styleThe style value of FontLoadResult.
weightThe weight value of FontLoadResult.

Examples

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

function inspectFontLoadResultFamily(fontLoadResult: { family: string }) {
    const value = fontLoadResult['family'];
    console.log('FontLoadResult.family', value);
}

See Also