PdfCanvas.DrawXObject Method (PdfXObject, PdfPoint, Double)

Draws the specified object, using its original size, at the specified location and with the specified rotation.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public void DrawXObject(
	PdfXObject obj,
	PdfPoint location,
	double angle
)
VB
Public Sub DrawXObject ( 
	obj As PdfXObject,
	location As PdfPoint,
	angle As Double
)

Parameters

obj
Type: BitMiracle.Docotic.Pdf.PdfXObject
The object to draw.
location
Type: BitMiracle.Docotic.Pdf.PdfPoint
PdfPoint structure that represents the location of the upper-left corner of the drawn object.
angle
Type: System.Double
The rotation angle.

Remarks

The object gets rotated in a counter-clockwise direction.

See Also