ImageGear .NET v25.2 - Updated
RequiredWidth Property




ImageGear.Barcode Assembly > ImageGear.Barcode Namespace > ImGearBarcodeWriterBase Class : RequiredWidth Property
Gets the required width of the image in pixels based on the current settings.
Syntax
'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();
public:
property int RequiredWidth {
   int get();
}

Property Value

An integer value which represents the required width.
Remarks

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.

See Also

Reference

ImGearBarcodeWriterBase Class
ImGearBarcodeWriterBase Members

Is this page helpful?
Yes No
Thanks for your feedback.