DecodeTypeTryParse 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
Syntax
public static bool TryParse(
	string parsingType,
	out SingleDecodeType result
)

Parameters

parsingType
Type: SystemString
A string in the format as "Index:-1; Name:None" to convert.
result
Type: Aspose.BarCode.BarCodeRecognitionSingleDecodeType
An actual SingleDecodeType returns, 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