VintaSoft Barcode .NET SDK v10.0
Vintasoft.Barcode Namespace / WriterSettings Class / SetWidth Method
Barcode width is specified units.
Unit of measure.




In This Topic
    SetWidth Method (WriterSettings)
    In This Topic
    Sets the desired width of barcode.
    Syntax
    'Declaration
     
    <ObsoleteAttribute("This method is obsolete, use the BarcodeWriter.GetBarcodeAsBitmap(double, double, UnitOfMeasure) method instead.")>
    Public Sub SetWidth( _
       ByVal value As Double, _
       ByVal units As UnitOfMeasure _
    ) 
    'Usage
     
    Dim instance As WriterSettings
    Dim value As Double
    Dim units As UnitOfMeasure
     
    instance.SetWidth(value, units)
    [Obsolete("This method is obsolete, use the BarcodeWriter.GetBarcodeAsBitmap(double, double, UnitOfMeasure) method instead.")]
    public void SetWidth( 
       double value,
       UnitOfMeasure units
    )
    [Obsolete("This method is obsolete, use the BarcodeWriter.GetBarcodeAsBitmap(double, double, UnitOfMeasure) method instead.")]
    public: void SetWidth( 
       double value,
       UnitOfMeasure units
    ) 
    [Obsolete("This method is obsolete, use the BarcodeWriter.GetBarcodeAsBitmap(double, double, UnitOfMeasure) method instead.")]
    public:
    void SetWidth( 
       double value,
       UnitOfMeasure units
    ) 

    Parameters

    value
    Barcode width is specified units.
    units
    Unit of measure.
    Remarks
    This method is obsolete, use the BarcodeWriter.GetBarcodeAsBitmap method instead.
    Requirements

    Target Platforms: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also