Click or drag to resize

BasicFontBuilderBuildFont Method

Build the specified font.

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 virtual Font BuildFont(
	FontFamily family,
	float size,
	FontStyle style
)

Parameters

family
Type: System.DrawingFontFamily
The FontFamily of the font to build.
size
Type: SystemSingle
The size in points of the font to build.
style
Type: System.DrawingFontStyle
The FontStyle of the font to build.

Return Value

Type: Font
A Font object if BuildFont could build the font, null otherwise.

Implements

IFontBuilderBuildFont(FontFamily, Single, FontStyle)
Remarks
BuildFont will return a cached version of a font if it has been asked to build an identical font before.
See Also