DrawFormulaA
Text, Formula layout, Vector graphics
Description
ANSI variant of DrawFormula
Accepts string parameters as ANSI text and otherwise behaves identically to the wide-string entry point
Syntax
DLL
int DLDrawFormulaA(int InstanceID, double Left, double Top, const wchar_t * Formula, const wchar_t * AltText);Return values
Returns 1 after drawing, or 0 when Formula is empty
Remarks
Use \frac{a}{b} for fractions, x^{2} and x_{i} for scripts, \sqrt{x} or \sqrt[3]{x} for radicals, and commands such as \alpha, \Gamma, \times, \sum, and \infty for symbols
Groups can be nested and repeated measurement or drawing reuses the parsed layout while the font state remains unchanged
The DLL DLDrawFormulaA variant accepts text according to the configured ANSI mode