OcrGlyphMetricsGetAscentHeightRatio Method |
Returns the ratio of character ascent to character height.
Namespace:
Atalasoft.Ocr
Assembly:
Atalasoft.dotImage.Ocr (in Atalasoft.dotImage.Ocr.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public static double GetAscentHeightRatio(
char c
)
Public Shared Function GetAscentHeightRatio (
c As Char
) As Double
Parameters
- c
- Type: SystemChar
The character to be measured.
Return Value
Type:
Double A unitless value that represents the statistical ratio of a characters ascent to its overall height. This
can be used to determine the fontsize of a character.
Remarks This value is determined from a statistical range of values. It will not be completely accurate.
See Also