Aspose::BarCode::ComplexBarcode::MaxiCodeStandardCodetext class

MaxiCodeStandardCodetext class

Class for encoding and decoding MaxiCode codetext for modes 4, 5 and 6.

class MaxiCodeStandardCodetext : public Aspose::BarCode::ComplexBarcode::MaxiCodeCodetext

Methods

MethodDescription
Equals(System::SharedPtr<System::Object>) overrideReturns a value indicating whether this instance is equal to a specified MaxiCodeStandardCodetext value.
get_ECIEncoding()Gets ECI encoding. Used when MaxiCodeEncodeMode is Auto. Default value: ISO-8859-1.
get_MaxiCodeEncodeMode() constGets a MaxiCode encode mode. Default value: Auto.
get_Message() constGets message.
get_Mode()Gets MaxiCode mode. Standart codetext can be used only with modes 4, 5 and 6.
GetBarcodeType() overrideGets barcode type.
GetConstructedCodetext() overrideConstructs codetext.
GetHashCode() const overrideReturns the hash code for this instance.
GetMode() const overrideGets MaxiCode mode.
InitFromString(System::String) overrideInitializes instance from constructed codetext.
MaxiCodeCodetext()
MaxiCodeStandardCodetext()
set_ECIEncoding(Aspose::BarCode::Generation::ECIEncodings)Sets ECI encoding. Used when MaxiCodeEncodeMode is Auto. Default value: ISO-8859-1.
set_MaxiCodeEncodeMode(Aspose::BarCode::Generation::MaxiCodeEncodeMode)Sets a MaxiCode encode mode. Default value: Auto.
set_Message(System::String)Sets message.
set_Mode(Aspose::BarCode::Generation::MaxiCodeMode)Sets MaxiCode mode. Standart codetext can be used only with modes 4, 5 and 6.

Remarks

//Mode 4 MaxiCodeStandardCodetext maxiCodeCodetext = new MaxiCodeStandardCodetext(); maxiCodeCodetext.Mode = MaxiCodeMode.Mode4; maxiCodeCodetext.Message = “Test message”; using (ComplexBarcodeGenerator complexGenerator = new ComplexBarcodeGenerator(maxiCodeCodetext.GetConstructedCodetext()) { complexGenerator.GenerateBarCodeImage(); } //Mode 5 MaxiCodeStandardCodetext maxiCodeCodetext = new MaxiCodeStandardCodetext(); maxiCodeCodetext.Mode = MaxiCodeMode.Mode5; maxiCodeCodetext.Message = “Test message”; using (ComplexBarcodeGenerator complexGenerator = new ComplexBarcodeGenerator(maxiCodeCodetext.GetConstructedCodetext()) { complexGenerator.GenerateBarCodeImage(); } //Mode 6 MaxiCodeStandardCodetext maxiCodeCodetext = new MaxiCodeStandardCodetext(); maxiCodeCodetext.Mode = MaxiCodeMode.Mode6; maxiCodeCodetext.Message = “Test message”; using (ComplexBarcodeGenerator complexGenerator = new ComplexBarcodeGenerator(maxiCodeCodetext.GetConstructedCodetext()) { complexGenerator.GenerateBarCodeImage(); }

See Also