Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.