TX Sheet Control

EmbeddedFont Interface

Interface

Base64-encoded TrueType data with explicit face identity for deterministic server rendering.

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

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

Members

Properties

PropertyDescription
base64The base64 value of EmbeddedFont.
boldThe bold value of EmbeddedFont.
familyThe family value of EmbeddedFont.
italicThe italic value of EmbeddedFont.

Examples

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

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

function inspectEmbeddedFontFamily(embeddedFont: EmbeddedFont) {
    const value = embeddedFont['family'];
    console.log('EmbeddedFont.family', value);
}

See Also