getFormatSpecHandle Method @beta

Create a handle to formatting specs for a specific KoQ and persistence unit. The handle reads the current specs from the formatter on access. Call dispose() when done.

getFormatSpecHandle(koqName: string, persistenceUnit: string, system?: UnitSystemKey): FormatSpecHandle

@returns A FormatSpecHandle that reflects current formatter state

Parameter Type Description
koqName string The KindOfQuantity name (e.g., "DefaultToolsUnits.LENGTH")
persistenceUnit string The persistence unit name (e.g., "Units.M")
system UnitSystemKey  

Returns - FormatSpecHandle

A FormatSpecHandle that reflects current formatter state

Defined in

Last Updated: 15 May, 2026