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
objPdfXObjectThe object to draw.
locationPdfPointPdfPoint 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
objPdfXObjectThe object to draw.
locationPdfPointPdfPoint structure that represents the location of the upper-left corner of the drawn object.
angledoubleThe 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
objPdfXObjectThe object to draw.
locationPdfPointPdfPoint structure that represents the location of the upper-left corner of the drawn object.
sizePdfSizePdfSize structure that specifies the size of the drawn object.
angledoubleThe 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
objPdfXObjectThe object to draw.
xdoubleThe x-coordinate of the upper-left corner of the drawn object.
ydoubleThe 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
objPdfXObjectThe object to draw.
xdoubleThe x-coordinate of the upper-left corner of the drawn object.
ydoubleThe y-coordinate of the upper-left corner of the drawn object.
angledoubleThe 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
objPdfXObjectThe object to draw.
xdoubleThe x-coordinate of the upper-left corner of the drawn object.
ydoubleThe y-coordinate of the upper-left corner of the drawn object.
widthdoubleThe width of the drawn object.
heightdoubleThe height of the drawn object.
angledoubleThe 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..