Please use the code snippet given below to generate GS1DataMatrix Barcode with text on the right. Please make sure that you are using the latest version of Aspose.BarCode API.
using (BarCodeBuilder builder = new BarCodeBuilder("(90)08431107301111452287005001T8", EncodeTypes.GS1DataMatrix))
builder.CodeLocation = CodeLocation.Right;
builder.Display2DText = "Sample Text";
Bitmap barcode = builder.GenerateBarCodeImage();
We hope that this answered your question. Please feel free to reach us if additional information is required.