Skip to main content

PdfGraphics.DrawImage Method

Name Parameters Description
DrawImage(DXImage, PointF) image, location Draws the specified image in its original size at the specified page point.
DrawImage(DXImage, RectangleF, RectangleF, DXGraphicsUnit) image, destRect, srcRect, srcUnit Draws the specified image part in a page rectangle.
DrawImage(DXImage, RectangleF) image, bounds Draws an image in the specified page rectangle. The image is scaled to fit this rectangle.
DrawImage(Byte[], PointF) data, location Draws the specified image data at the specified point.
DrawImage(Byte[], RectangleF) data, bounds Draws an image data in the specified page rectangle. The image is scaled to fit the rectangle.
DrawImage(Image, RectangleF, RectangleF, GraphicsUnit) image, destRect, srcRect, srcUnit Draws the specified image part in a page rectangle.
DrawImage(Stream, PointF) data, location Draws an image from a stream at the specified page point.
DrawImage(Stream, RectangleF) data, bounds Draws an image from a stream in the specified page rectangle. The image is scaled to fit the rectangle.