[]
Provides extension methods to draw and measure a GcBarcode.
public static class GcPdfBarcodeExtension
Draws a GcBarcode on the current GcGraphics.
public static void DrawBarcode(this GcGraphics g, GcBarcode barcode, RectangleF bounds)
g
GcGraphicsThe current graphics.
barcode
GcBarcodeThe barcode to draw.
bounds
System.Drawing.RectangleFThe bounds specifying where to draw the barcode.
Measures a GcBarcode using the current GcGraphics.
public static SizeF MeasureBarcode(this GcGraphics g, GcBarcode barcode)
g
GcGraphicsThe current graphics.
barcode
GcBarcodeThe barcode to measure.
The size of the barcode in current graphics units.