VintaSoft Barcode .NET SDK v10.0
GetBarcodeAsBitmap(BarcodeStructureBase,Single,Single,Single,Single,Int32,Int32,BarcodeImagePixelFormat,Single) Method




Vintasoft.Barcode Namespace > BarcodeGraphicsRenderer Class > GetBarcodeAsBitmap Method : GetBarcodeAsBitmap(BarcodeStructureBase,Single,Single,Single,Single,Int32,Int32,BarcodeImagePixelFormat,Single) Method
An object that contains information about barcode.
The barcode X-coordinate, in pixels, on image.
The barcode Y-coordinate, in pixels, on image.
The barcode width, in pixels.
The barcode height, in pixels.
The width of generated image.
The height of generated image.
Pixel format of generated image.
The resolution of generated image.
Returns barcode as an image.
Syntax
'Declaration
 
Public Overloads Function GetBarcodeAsBitmap( _
   ByVal barcodeStructure As BarcodeStructureBase, _
   ByVal barcodeX As Single, _
   ByVal barcodeY As Single, _
   ByVal barcodeWidth As Single, _
   ByVal barcodeHeight As Single, _
   ByVal imageWidth As Integer, _
   ByVal imageHeight As Integer, _
   ByVal pixelFormat As BarcodeImagePixelFormat, _
   ByVal imageResolution As Single _
) As Bitmap
'Usage
 
Dim instance As BarcodeGraphicsRenderer
Dim barcodeStructure As BarcodeStructureBase
Dim barcodeX As Single
Dim barcodeY As Single
Dim barcodeWidth As Single
Dim barcodeHeight As Single
Dim imageWidth As Integer
Dim imageHeight As Integer
Dim pixelFormat As BarcodeImagePixelFormat
Dim imageResolution As Single
Dim value As Bitmap
 
value = instance.GetBarcodeAsBitmap(barcodeStructure, barcodeX, barcodeY, barcodeWidth, barcodeHeight, imageWidth, imageHeight, pixelFormat, imageResolution)

Parameters

barcodeStructure
An object that contains information about barcode.
barcodeX
The barcode X-coordinate, in pixels, on image.
barcodeY
The barcode Y-coordinate, in pixels, on image.
barcodeWidth
The barcode width, in pixels.
barcodeHeight
The barcode height, in pixels.
imageWidth
The width of generated image.
imageHeight
The height of generated image.
pixelFormat
Pixel format of generated image.
imageResolution
The resolution of generated image.

Return Value

System.Drawing.Bitmap that contains rendered barcode.
Requirements

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

See Also

Reference

BarcodeGraphicsRenderer Class
BarcodeGraphicsRenderer Members
Overload List