Click or drag to resize

IFontMapperRemapStyle Method

RemapStyle maps an input FontFamily and style to a new FontStyle.

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
FontStyle RemapStyle(
	FontFamily family,
	FontStyle style
)

Parameters

family
Type: System.DrawingFontFamily
The FontFamily of the font being remapped.
style
Type: System.DrawingFontStyle
The FontStyle of the font being remapped.

Return Value

Type: FontStyle
A new FontStyle to be used instead of the one supplied.
Remarks
It is acceptable to simply return the FontStyle provided. This method is provided by those who want very fine grain control over font usage in a recognized image.
See Also