XFINIUM.PDF Documentation
DrawBarcode Method



Xfinium.Pdf.Graphics Namespace > PdfGraphics Class : DrawBarcode Method
PdfBarcode to draw.
The x-coordinate of the upper-left corner of the drawn barcode.
The y-coordinate of the upper-left corner of the drawn barcode.
Draws a barcode at the specified position.
Syntax
'Declaration
 
Public Sub DrawBarcode( _
   ByVal barcode As PdfBarcode, _
   ByVal x As Double, _
   ByVal y As Double _
) 
'Usage
 
Dim instance As PdfGraphics
Dim barcode As PdfBarcode
Dim x As Double
Dim y As Double
 
instance.DrawBarcode(barcode, x, y)
public void DrawBarcode( 
   PdfBarcode barcode,
   double x,
   double y
)
public:
void DrawBarcode( 
   PdfBarcode^ barcode,
   double x,
   double y
) 

Parameters

barcode
PdfBarcode to draw.
x
The x-coordinate of the upper-left corner of the drawn barcode.
y
The y-coordinate of the upper-left corner of the drawn barcode.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfGraphics Class
PdfGraphics Members