DrawFormulaA

Text, Formula layout, Vector graphics

Περιγραφή

ANSI variant of DrawFormulaAccepts 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);

Τιμές επιστροφής

Returns 1 after drawing, or 0 when Formula is empty

Παρατηρήσεις

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 symbolsGroups 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