Gets a System.Drawing.Bitmap object of the barcode image fitting the bars into the specified size measured in inches. It also performs the scaling of the Font in order to accommodate it to the desired size.

[Visual Basic]
Overloads Public Function GetBarcodeImage( _
   ByVal dpi As Single, _
   ByVal barsAreaSizeInInches As SizeF, _
   ByVal autoScaleFont As Boolean _
) As Bitmap
[C#]
public Bitmap GetBarcodeImage(
   float dpi,
   SizeF barsAreaSizeInInches,
   bool autoScaleFont
);

Parameters

dpi
The resolution, in dots per inch, of the output image.
barsAreaSizeInInches
The desired bars area size, in inches, for the barcode image.
autoScaleFont
Specifies whether the Font size must be scaled.

Return Value

A System.Drawing.Bitmap object that represent the barcode image.

See Also

BarcodeProfessional Class | Neodynamic.WebControls.BarcodeProfessional Namespace | BarcodeProfessional.GetBarcodeImage Overload List