DecodeTypeTryParse Method (String, MultyDecodeType)

Converts the string representation of a MultyDecodeType to its instance. A return value indicates whether the conversion succeeded or failed.

Namespace:  Aspose.BarCode.BarCodeRecognition
Assembly:  Aspose.BarCode (in Aspose.BarCode.dll) Version: 21.4.0
Syntax
public static bool TryParse(
	string parsingType,
	out MultyDecodeType result
)

Parameters

parsingType
Type: SystemString
A string in the format as either "AllSupportedTypes" or "EAN8,EAN13,CodaBar" to convert.
result
Type: Aspose.BarCode.BarCodeRecognitionMultyDecodeType
An actual MultyDecodeType is returned, when conversion has completed successfully;

otherwise it returns indefinite type. or MultyDecodeType ("None").

Return Value

Type: Boolean
true if s was converted successfully; otherwise, false.
See Also