Barcode Xpress for .NET Framework v14.0 - Updated
Accusoft.BarcodeXpressSdk Namespace / WriterBase Class / Width Property




In This Topic
    Width Property
    In This Topic
    Gets and sets the width of the image in pixels.
    Syntax
    'Declaration
     
    Public Property Width As Integer
    'Usage
     
    Dim instance As WriterBase
    Dim value As Integer
     
    instance.Width = value
     
    value = instance.Width
    public int Width {get; set;}
    public: __property int get_Width();
    public: __property void set_Width( 
       int value
    );
    public:
    property int Width {
       int get();
       void set (    int value);
    }

    Property Value

    An integer value which represents the width of the barcode image.
    Remarks

    The default value is 600.

    The value is the number of pixels it takes to make the width of the barcode image.

    Note: Barcode Xpress does not allow writing barcodes less than two pixels in width.

    See Also