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