Method DrawImage
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
DrawImage(PdfImage, PdfPoint)
Draws the specified image, using its original size, at the specified location.
public void DrawImage(PdfImage image, PdfPoint location)
Parameters
image
PdfImageThe image to draw.
location
PdfPointPdfPoint structure that represents the location of the upper-left corner of the drawn image.
Remarks
The Images section describes ways to add images to PDF documents.
DrawImage(PdfImage, PdfPoint, double)
Draws the specified image, using its original size, at the specified location and with the specified rotation.
public void DrawImage(PdfImage image, PdfPoint location, double angle)
Parameters
image
PdfImageThe image to draw.
location
PdfPointPdfPoint structure that represents the location of the upper-left corner of the drawn image.
angle
doubleThe rotation angle.
Remarks
The image gets rotated in a counter-clockwise direction.
The Images section describes ways to add images to PDF documents.
DrawImage(PdfImage, PdfPoint, PdfSize, double)
Draws the specified image at the specified location with specified size and with the specified rotation.
public void DrawImage(PdfImage image, PdfPoint location, PdfSize size, double angle)
Parameters
image
PdfImageThe image to draw.
location
PdfPointPdfPoint structure that represents the location of the upper-left corner of the drawn image.
size
PdfSizePdfSize structure that specifies the size of the drawn image.
angle
doubleThe rotation angle.
Remarks
The image gets rotated in a counter-clockwise direction.
The image represented by the image
is scaled to the specified
size.
The Images section describes ways to add images to PDF documents.
DrawImage(PdfImage, double, double)
Draws the specified image, using its original size, at the specified location.
public void DrawImage(PdfImage image, double x, double y)
Parameters
image
PdfImageThe image to draw.
x
doubleThe x-coordinate of the upper-left corner of the drawn image.
y
doubleThe y-coordinate of the upper-left corner of the drawn image.
Remarks
The Images section describes ways to add images to PDF documents.
DrawImage(PdfImage, double, double, double)
Draws the specified image, using its original size, at the specified location and with the specified rotation.
public void DrawImage(PdfImage image, double x, double y, double angle)
Parameters
image
PdfImageThe image to draw.
x
doubleThe x-coordinate of the upper-left corner of the drawn image.
y
doubleThe y-coordinate of the upper-left corner of the drawn image.
angle
doubleThe rotation angle.
Remarks
The image gets rotated in a counter-clockwise direction.
The Images section describes ways to add images to PDF documents.
DrawImage(PdfImage, double, double, double, double, double)
Draws the specified image at the specified location with specified size and with the specified rotation.
public void DrawImage(PdfImage image, double x, double y, double width, double height, double angle)
Parameters
image
PdfImageThe image to draw.
x
doubleThe x-coordinate of the upper-left corner of the drawn image.
y
doubleThe y-coordinate of the upper-left corner of the drawn image.
width
doubleThe width of the drawn image.
height
doubleThe height of the drawn image.
angle
doubleThe rotation angle.
Remarks
The image gets rotated in a counter-clockwise direction.
The image represented by the image
is scaled to the specified
size.
The Images section describes ways to add images to PDF documents.