GetFormulaHeight
Text, Formula layout, Measurement
Description
Returns the full ascent and descent of a parsed mathematical formula using the current font and text size
Syntax
Delphi
Function TPDFlib.GetFormulaHeight(Const Formula: WideString): Double;ActiveX
Function PDFlib::GetFormulaHeight(Formula As String) As DoubleDLL
double DLGetFormulaHeight(int InstanceID, const wchar_t * Formula);Parameters
| Formula | Formula source to measure |
|---|
Return values
Returns the formula height in the active measurement units, or 0 for empty input
Remarks
The returned height includes stacked fractions, superscripts, subscripts, radical bars, and root indices
The DLL DLGetFormulaHeightA variant accepts text according to the configured ANSI mode