.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

PdfGraphics.DrawImage Method

Name Parameters Description
DrawImage(Byte[], PointF) data, location Draws the specified image using the byte array data at the specified location.
DrawImage(Byte[], RectangleF) data, bounds Draws an image using an array of bytes representing image data and the image bounds.
DrawImage(Image, PointF) image, location Draws the specified image in its original size at the specified location.
DrawImage(Image, RectangleF) image, bounds Draws an image using the specified image bounds.
DrawImage(Image, RectangleF, RectangleF, GraphicsUnit) image, destRect, srcRect, srcUnit Draws the portion of the specified Image at the specified location in the specified size.
DrawImage(Stream, PointF) data, location Draws an image at the specified location using the stream data.
DrawImage(Stream, RectangleF) data, bounds Draws an image with the bounds and stream.