Table of Contents

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 PdfImage

The image to draw.

location PdfPoint

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

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 PdfImage

The image to draw.

location PdfPoint

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

angle double

The rotation angle.

Remarks

The image gets rotated in a counter-clockwise direction.

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 PdfImage

The image to draw.

location PdfPoint

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

size PdfSize

PdfSize structure that specifies the size of the drawn image.

angle double

The rotation angle.

Remarks

The image gets rotated in a counter-clockwise direction.

The image represented by the image is scaled to the specified size.

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 PdfImage

The image to draw.

x double

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

y double

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

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 PdfImage

The image to draw.

x double

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

y double

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

angle double

The rotation angle.

Remarks

The image gets rotated in a counter-clockwise direction.

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 PdfImage

The image to draw.

x double

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

y double

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

width double

The width of the drawn image.

height double

The height of the drawn image.

angle double

The rotation angle.

Remarks

The image gets rotated in a counter-clockwise direction.

The image represented by the image is scaled to the specified size.