VintaSoft Barcode .NET SDK 16.1: Documentation for .NET developer
Vintasoft.Barcode Namespace / WriterSettings Class / SetWidth(Int32) Method
Syntax Remarks Requirements SeeAlso
In This Topic
SetWidth(Int32) Method (WriterSettings)
In This Topic
Sets the desired width of barcode.
Syntax
'Declaration

Public Sub SetWidth( _
ByVal width
Barcode width in pixels.
As Integer _
)
public void SetWidth(
int width
)

Parameters

width
Barcode width in pixels.
Remarks

This method sets "desired" width. If image with exact width must be created, use GetBarcodeAsVintasoftBitmap(Double,Double,UnitOfMeasure) method.

Requirements

Target Platforms: .NET 11; .NET 10; .NET 9; .NET 8; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also