DecodeType.TryParse
Contents
[
Hide
]TryParse(string, out SingleDecodeType)
Converts the string representation of a SingleDecodeType to its instance. A return value indicates whether the conversion succeeded or failed.
public static bool TryParse(string parsingType, out SingleDecodeType result)
| Parameter | Type | Description |
|---|---|---|
| parsingType | String | A string containing a SingleDecodeType in the format as “EAN8” or “EAN13” or “CodaBar”… to convert. |
| result | SingleDecodeType& | An actual SingleDecodeType returns, when conversion has completed successfully; otherwise it returns indefinite type: DecodeType.None. |
Return Value
true if parsingType was converted successfully; otherwise, false.
See Also
- class SingleDecodeType
- class DecodeType
- namespace Aspose.BarCode.BarCodeRecognition
- assembly Aspose.BarCode
TryParse(string, out MultiDecodeType)
Converts the string representation of a MultiDecodeType to its instance. A return value indicates whether the conversion succeeded or failed.
public static bool TryParse(string parsingType, out MultiDecodeType result)
| Parameter | Type | Description |
|---|---|---|
| parsingType | String | A string in the format as either “AllSupportedTypes” or “EAN8,EAN13,CodaBar” to convert. |
| result | MultiDecodeType& | An actual MultiDecodeType is returned, when conversion has completed successfully; otherwise it returns indefinite type: new MultiDecodeType(DecodeType.None) |
Return Value
true if parsingType was converted successfully; otherwise, false.
See Also
- class MultiDecodeType
- class DecodeType
- namespace Aspose.BarCode.BarCodeRecognition
- assembly Aspose.BarCode