[]
        
(Showing Draft Content)

GrapeCity.Documents.Barcode.GcPdfBarcodeExtension.MeasureBarcode

MeasureBarcode Method

MeasureBarcode(GcGraphics, GcBarcode)

Measures a GcBarcode using the current GcGraphics.

Declaration
public static SizeF MeasureBarcode(this GcGraphics g, GcBarcode barcode)
Public Shared Function MeasureBarcode(g As GcGraphics, barcode As GcBarcode) As SizeF
Parameters
Type Name Description
GcGraphics g

The current graphics.

GcBarcode barcode

The barcode to measure.

Returns
Type Description
SizeF

The size of the barcode in current graphics units.