BaseDecodeTypeTryParse Method (String, BaseDecodeType)

Converts the string representation of a BaseDecodeType to its instance, having determined the concrete type. 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 BaseDecodeType result
)

Parameters

parsingType
Type: SystemString
A string containing a MultyDecodeType representation to convert.
result
Type: Aspose.BarCode.BarCodeRecognitionBaseDecodeType
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