Table of Contents

Method DrawXObject

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

DrawXObject(PdfXObject, PdfPoint)

Draws the specified XObject, using its original size, at the specified location.

public void DrawXObject(PdfXObject obj, PdfPoint location)

Parameters

obj PdfXObject

The object to draw.

location PdfPoint

PdfPoint structure that represents the location of the upper-left corner of the drawn object.

DrawXObject(PdfXObject, PdfPoint, double)

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

public void DrawXObject(PdfXObject obj, PdfPoint location, double angle)

Parameters

obj PdfXObject

The object to draw.

location PdfPoint

PdfPoint structure that represents the location of the upper-left corner of the drawn object.

angle double

The rotation angle.

Remarks

The object gets rotated in a counter-clockwise direction.

DrawXObject(PdfXObject, PdfPoint, PdfSize, double)

Draws the specified object at the specified location with specified size and with the specified rotation.

public void DrawXObject(PdfXObject obj, PdfPoint location, PdfSize size, double angle)

Parameters

obj PdfXObject

The object to draw.

location PdfPoint

PdfPoint structure that represents the location of the upper-left corner of the drawn object.

size PdfSize

PdfSize structure that specifies the size of the drawn object.

angle double

The rotation angle.

Remarks

The object gets rotated in a counter-clockwise direction.

The object represented by the obj is scaled to the specified size.

DrawXObject(PdfXObject, double, double)

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

public void DrawXObject(PdfXObject obj, double x, double y)

Parameters

obj PdfXObject

The object to draw.

x double

The x-coordinate of the upper-left corner of the drawn object.

y double

The y-coordinate of the upper-left corner of the drawn object.

DrawXObject(PdfXObject, double, double, double)

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

public void DrawXObject(PdfXObject obj, double x, double y, double angle)

Parameters

obj PdfXObject

The object to draw.

x double

The x-coordinate of the upper-left corner of the drawn object.

y double

The y-coordinate of the upper-left corner of the drawn object.

angle double

The rotation angle.

Remarks

The object gets rotated in a counter-clockwise direction.

DrawXObject(PdfXObject, double, double, double, double, double)

Draws the specified object at the specified location with specified size and with the specified rotation.

public void DrawXObject(PdfXObject obj, double x, double y, double width, double height, double angle)

Parameters

obj PdfXObject

The object to draw.

x double

The x-coordinate of the upper-left corner of the drawn object.

y double

The y-coordinate of the upper-left corner of the drawn object.

width double

The width of the drawn object.

height double

The height of the drawn object.

angle double

The rotation angle.

Remarks

The object gets rotated in a counter-clockwise direction.

The object represented by the obj is scaled to the specified size.