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
Method | Description |
---|---|
Equals(System::SharedPtr<System::Object>) override | Returns 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() const | Gets a MaxiCode encode mode. Default value: Auto. |
get_Message() const | Gets message. |
get_Mode() | Gets MaxiCode mode. Standart codetext can be used only with modes 4, 5 and 6. |
GetBarcodeType() override | Gets barcode type. |
GetConstructedCodetext() override | Constructs codetext. |
GetHashCode() const override | Returns the hash code for this instance. |
GetMode() const override | Gets MaxiCode mode. |
InitFromString(System::String) override | Initializes 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
- Class MaxiCodeCodetext
- Namespace Aspose::BarCode::ComplexBarcode
- Library Aspose.BarCode for C++