Document Solutions for PDF
DS.Documents.Barcode Assembly / GrapeCity.Documents.Barcode Namespace / GcPdfBarcodeExtension Class / MeasureBarcode Method
The current graphics.
The barcode to measure.

In This Topic
    MeasureBarcode Method
    In This Topic
    Syntax
    'Declaration
     
    Public Shared Function MeasureBarcode( _
       ByVal g As GcGraphics, _
       ByVal barcode As GcBarcode _
    ) As System.Drawing.SizeF
    public static System.Drawing.SizeF MeasureBarcode( 
       GcGraphics g,
       GcBarcode barcode
    )

    Parameters

    g
    The current graphics.
    barcode
    The barcode to measure.

    Return Value

    The size of the barcode in current graphics units.
    See Also