BaseDecodeTypeTryParse Method (String, SingleDecodeType)

Converts the string representation of a SingleDecodeType 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
public static bool TryParse(
	string parsingType,
	out SingleDecodeType result


Type: SystemString
A string containing a SingleDecodeType representation to convert.
Type: Aspose.BarCode.BarCodeRecognitionSingleDecodeType
An actual SingleDecodeType is returned, when conversion has completed successfully;

otherwise it returns indefinite type. or SingleDecodeType (-1, "None").

Return Value

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