Click or drag to resize

OcrInvokeSetLocale Method

http://www.emgu.com
The setlocale function installs the specified system locale or its portion as the new C locale. The modifications remain in effect and influences the execution of all locale-sensitive C library functions until the next call to setlocale. If locale is a null pointer, setlocale queries the current C locale without modifying it.

Namespace:  Emgu.CV.OCR
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.0.3408 (4.1.0.3408)
Syntax
public static string SetLocale(
	LocaleGuardLocaleCategory category,
	string locale = null
)

Parameters

category
Type: Emgu.CV.OCRLocaleGuardLocaleCategory
Locale category identifier
locale (Optional)
Type: SystemString
System-specific locale identifier. Can be "" for the user-preferred locale or "C" for the minimal locale

Return Value

Type: String
String identifying the C locale after applying the changes, if any, or null pointer on failure. A copy of the returned string along with the category used in this call to std::setlocale may be used later in the program to restore the locale back to the state at the end of this call.
See Also