You may set the margins for the Barcode by using the code snippet given below.
builder.Margins = New Aspose.BarCode.MarginsF(20, 2, 2, 3)
To set the font of the text displayed, use builder.CodeTextFont property.
builder.CodeTextFont = New System.Drawing.Font("Verdana", 50.0F)
To set the size of the generated Barcode image, you may set the ImageHeight and ImageWidth properties.
builder.GraphicsUnit = GraphicsUnit.Inch
builder.ImageHeight = 3
builder.ImageWidth = 7
We hope that this solved the issue that you were facing. Please feel free to reach us if additional information is required.