Aspose::BarCode::BarCodeRecognition::DecodeType::TryParse method
Contents
[
Hide
]DecodeType::TryParse(System::String, System::SharedPtr<MultyDecodeType>&) method
Converts the string representation of a MultyDecodeType to its instance. A return value indicates whether the conversion succeeded or failed.
static bool Aspose::BarCode::BarCodeRecognition::DecodeType::TryParse(System::String parsingType, System::SharedPtr<MultyDecodeType> &result)
Parameter | Type | Description |
---|---|---|
parsingType | System::String | A string in the format as either “AllSupportedTypes” or “EAN8,EAN13,CodaBar” to convert. |
result | System::SharedPtr<MultyDecodeType>& | An actual MultyDecodeType is returned, when conversion has completed successfully; otherwise it returns indefinite type: new MultyDecodeType(DecodeType.None) |
ReturnValue
true if parsingType was converted successfully; otherwise, false.
See Also
- Class MultyDecodeType
- Class DecodeType
- Namespace Aspose::BarCode::BarCodeRecognition
- Library Aspose.BarCode for C++
DecodeType::TryParse(System::String, System::SharedPtr<SingleDecodeType>&) method
Converts the string representation of a SingleDecodeType to its instance. A return value indicates whether the conversion succeeded or failed.
static bool Aspose::BarCode::BarCodeRecognition::DecodeType::TryParse(System::String parsingType, System::SharedPtr<SingleDecodeType> &result)
Parameter | Type | Description |
---|---|---|
parsingType | System::String | A string containing a SingleDecodeType in the format as “EAN8” or “EAN13” or “CodaBar”… to convert. |
result | System::SharedPtr<SingleDecodeType>& | An actual SingleDecodeType returns, when conversion has completed successfully; otherwise it returns indefinite type: DecodeType.None. |
ReturnValue
true if parsingType was converted successfully; otherwise, false.
See Also
- Class SingleDecodeType
- Class DecodeType
- Namespace Aspose::BarCode::BarCodeRecognition
- Library Aspose.BarCode for C++