VintaSoft Barcode .NET SDK v10.0
Vintasoft.Barcode Namespace / BarcodeGraphicsRenderer Class / GetBarcodeAsBitmap Method / GetBarcodeAsBitmap(BarcodeWriter,Double,Double,UnitOfMeasure) Method
The barcode writer, which is used for barcode generation.
Width of the barcode image.
Height of the barcode image.
Unit of measure of width and height.




In This Topic
    GetBarcodeAsBitmap(BarcodeWriter,Double,Double,UnitOfMeasure) Method
    In This Topic
    Returns barcode as an image.
    Syntax
    'Declaration
     
    Public Overloads Function GetBarcodeAsBitmap( _
       ByVal barcodeWriter As BarcodeWriter, _
       ByVal barcodeImageWidth As Double, _
       ByVal barcodeImageHeight As Double, _
       ByVal unitOfMeasure As UnitOfMeasure _
    ) As Bitmap
    'Usage
     
    Dim instance As BarcodeGraphicsRenderer
    Dim barcodeWriter As BarcodeWriter
    Dim barcodeImageWidth As Double
    Dim barcodeImageHeight As Double
    Dim unitOfMeasure As UnitOfMeasure
    Dim value As Bitmap
     
    value = instance.GetBarcodeAsBitmap(barcodeWriter, barcodeImageWidth, barcodeImageHeight, unitOfMeasure)

    Parameters

    barcodeWriter
    The barcode writer, which is used for barcode generation.
    barcodeImageWidth
    Width of the barcode image.
    barcodeImageHeight
    Height of the barcode image.
    unitOfMeasure
    Unit of measure of width and height.

    Return Value

    A barcode as an image.
    Requirements

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

    See Also