Share via


OcrEngine.TryCreateFromUserProfileLanguages Method

Definition

Creates a new instance of the OcrEngine class.

public:
 static OcrEngine ^ TryCreateFromUserProfileLanguages();
 static OcrEngine TryCreateFromUserProfileLanguages();
public static OcrEngine TryCreateFromUserProfileLanguages();
function tryCreateFromUserProfileLanguages()
Public Shared Function TryCreateFromUserProfileLanguages () As OcrEngine

Returns

If any language from GlobalizationPreferences.Languages can be resolved to any of the available OCR languages returns new instance of OcrEngine class, otherwise returns null.

Applies to