VintaSoft Barcode .NET SDK v10.0
Get barcode in vector form as System.Drawing.Drawing2D.GraphicsPath object

Example: Here is an example that shows how to get barcode in vector fom as GraphicsPath object.

Public Function GetBarcodeAsGraphicsPath(barcode As BarcodeType, value As String) As GraphicsPath
        ' create the barcode writer
        Dim barcodeWriter As New BarcodeWriter()

        ' set barcode writer settings
        barcodeWriter.Settings.Barcode = barcode
        barcodeWriter.Settings.Value = value

        ' return barcode as GraphicsPath
        Return barcodeWriter.GetBarcodeAsGraphicsPath()
End Function
public GraphicsPath GetBarcodeAsGraphicsPath(BarcodeType barcode, string value)
    // create the barcode writer
    BarcodeWriter barcodeWriter = new BarcodeWriter();

    // set barcode writer settings
    barcodeWriter.Settings.Barcode = barcode;
    barcodeWriter.Settings.Value = value;

    // return barcode as GraphicsPath
    return barcodeWriter.GetBarcodeAsGraphicsPath();