ImageGear21.Barcode Assembly > ImageGear.Barcode Namespace > ImGearBarcodeWriterBase Class : RequiredWidth Property |
'Declaration Public ReadOnly Property RequiredWidth As Integer
'Usage Dim instance As ImGearBarcodeWriterBase Dim value As Integer value = instance.RequiredWidth
public int RequiredWidth {get;}
public: __property int get_RequiredWidth();
The required width is the size of the barcode value bars * bar width + 2 * horizontal spacing + size of the outside text (if displayed). The bar should either be the minimal bar width or the calculated bar width if the AdjustBarWidth property is set to true.
This is the required width given the input parameters to create a barcode image. It is only valid after trying to make the barcode.