Table of Contents

Class LocaleGuard

Namespace
Emgu.CV.OCR
Assembly
Emgu.CV.dll

This class set the locale to specific values and revert it back to the old values when the object is disposed.

public class LocaleGuard : DisposableObject, IDisposable
Inheritance
LocaleGuard
Implements
Inherited Members

Constructors

LocaleGuard(LocaleCategory, string)

Create a locale guard to set the locale to specific value. Will revert locale back to previous value when the object is disposed.

public LocaleGuard(LocaleGuard.LocaleCategory category, string locale)

Parameters

category LocaleGuard.LocaleCategory

The locale category

locale string

The locale

Methods

DisposeObject()

Revert back to the old locale

protected override void DisposeObject()