Barcode Xpress for .NET v13.5 - Updated
RequiredWidth Property




Accusoft.BarcodeXpressSdk Namespace > WriterBase Class : RequiredWidth Property
Returns 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 WriterBase
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

WriterBase Class
WriterBase Members