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
PdfXObjectThe object to draw.
location
PdfPointPdfPoint structure that represents the location of the upper-left corner of the drawn object.
Remarks
The Impose PDF section shows how to use XObjects to combine multiple PDF pages on a single page.
See an example of using XObjects when resizing page contents.
Check out how to use XObjects when creating watermarks and backgrounds..
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
PdfXObjectThe object to draw.
location
PdfPointPdfPoint structure that represents the location of the upper-left corner of the drawn object.
angle
doubleThe rotation angle.
Remarks
The object gets rotated in a counter-clockwise direction.
The Impose PDF section shows how to use XObjects to combine multiple PDF pages on a single page.
See an example of using XObjects when resizing page contents.
Check out how to use XObjects when creating watermarks and backgrounds..
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
PdfXObjectThe object to draw.
location
PdfPointPdfPoint structure that represents the location of the upper-left corner of the drawn object.
size
PdfSizePdfSize structure that specifies the size of the drawn object.
angle
doubleThe rotation angle.
Remarks
The object gets rotated in a counter-clockwise direction.
The object represented by the obj
is scaled to the specified size.
The Impose PDF section shows how to use XObjects to combine multiple PDF pages on a single page.
See an example of using XObjects when resizing page contents.
Check out how to use XObjects when creating watermarks and backgrounds..
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
PdfXObjectThe object to draw.
x
doubleThe x-coordinate of the upper-left corner of the drawn object.
y
doubleThe y-coordinate of the upper-left corner of the drawn object.
Remarks
The Impose PDF section shows how to use XObjects to combine multiple PDF pages on a single page.
See an example of using XObjects when resizing page contents.
Check out how to use XObjects when creating watermarks and backgrounds..
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
PdfXObjectThe object to draw.
x
doubleThe x-coordinate of the upper-left corner of the drawn object.
y
doubleThe y-coordinate of the upper-left corner of the drawn object.
angle
doubleThe rotation angle.
Remarks
The object gets rotated in a counter-clockwise direction.
The Impose PDF section shows how to use XObjects to combine multiple PDF pages on a single page.
See an example of using XObjects when resizing page contents.
Check out how to use XObjects when creating watermarks and backgrounds..
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
PdfXObjectThe object to draw.
x
doubleThe x-coordinate of the upper-left corner of the drawn object.
y
doubleThe y-coordinate of the upper-left corner of the drawn object.
width
doubleThe width of the drawn object.
height
doubleThe height of the drawn object.
angle
doubleThe rotation angle.
Remarks
The object gets rotated in a counter-clockwise direction.
The object represented by the obj
is scaled to the specified size.
The Impose PDF section shows how to use XObjects to combine multiple PDF pages on a single page.
See an example of using XObjects when resizing page contents.
Check out how to use XObjects when creating watermarks and backgrounds..