Aspose::BarCode::BarCodeRecognition::DecodeType::Parse method

DecodeType::Parse 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::Parse(System::String parsingType, System::SharedPtr<SingleDecodeType> &result)
ParameterTypeDescription
parsingTypeSystem::StringA string containing a SingleDecodeType in the format as “EAN8” or “EAN13” or “CodaBar”… to convert.
resultSystem::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