Click or drag to resize

OcrGlyphMetricsGetFontAscent Method

Gets the statistical ascent of an entire font from given character.

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 int GetFontAscent(
	char c,
	int top,
	int bottom
)

Parameters

c
Type: SystemChar
The character to be measured.
top
Type: SystemInt32
The topmost coordinate of the character.
bottom
Type: SystemInt32
The bottommost coordinate of the character.

Return Value

Type: Int32
A value representing the ascent of the character in the same coordinate system as top and bottom.
Remarks
This value is determined from a statistical range of values. It will not be completely accurate.
See Also