TBarCode.NET 11 Developer Reference TBarCode.NET 11 (Windows)
|
|
inline |
Draws the barcode into a bitmap.
The parameters width and height specify the size of the whole bitmap. The BoundingRectangle specifies the size of the barcode in the bitmap. If the bar code resolution should follow the Dpi property, set IgnoreDpiFromDC = true.
This example draws a barcode-bitmap that is 200 x 75 pixels large:
The following example draws a barcode that is centered in a bitmap. A border of 10 pixels (in background color) surrounds the barcode.
For this method the unit of the bounding rectangle values, width and height is pixel. Be aware of the system limit of GDI objects: Dispose() the returned bitmap to free up consumed GDI handles immediately.
width | The width of the bitmap [Pixels]. |
height | The height of the bitmap [Pixels]. |
© 2024 All rights reserved by TEC-IT Datenverarbeitung GmbH |
![]() |
Generated on Tue Mar 26 2024 20:14:47 for TBarCode.NET 11 Developer Reference with doxygen 1.9.8 |