Click or drag to resize

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.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public static double GetAscentHeightRatio(
	char c
)

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