GetFormulaWidthA
Text, Formula layout, Measurement
Description
ANSI variant of GetFormulaWidth
Accepts string parameters as ANSI text and otherwise behaves identically to the wide-string entry point
Syntax
DLL
double DLGetFormulaWidthA(int InstanceID, const wchar_t * Formula);Return values
Returns the formula width in the active measurement units, or 0 for empty input
Remarks
The result includes fraction padding, script offsets, radical signs, optional root indices, and nested groups
The DLL DLGetFormulaWidthA variant accepts text according to the configured ANSI mode