OcrEngine.TryCreateFromUserProfileLanguages Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.