TX Sheet Control

FontLoadResult Interface

Interface

Outcome of loading a specific catalog face.

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

Type-only declaration; it is not a JavaScript runtime constructor.

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.

import type { FontLoadResult } from '@txtextcontrol/tx-sheet-control';

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

See Also