Back to Devexpress

PdfGraphics.DrawImage Method

officefileapi-devexpress-dot-pdf-dot-pdfgraphics-dot-drawimage.md

latest1.7 KB
Original Source

PdfGraphics.DrawImage Method

NameParametersDescription
DrawImage(DXImage, PointF)image, locationDraws the specified image in its original size at the specified page point.
DrawImage(DXImage, RectangleF, RectangleF, DXGraphicsUnit)image, destRect, srcRect, srcUnitDraws the specified image part in a page rectangle.
DrawImage(DXImage, RectangleF)image, boundsDraws an image in the specified page rectangle. The image is scaled to fit this rectangle.
DrawImage(Byte[], PointF)data, locationDraws the specified image data at the specified point.
DrawImage(Byte[], RectangleF)data, boundsDraws an image data in the specified page rectangle. The image is scaled to fit the rectangle.
DrawImage(Stream, PointF)data, locationDraws an image from a stream at the specified page point.
DrawImage(Stream, RectangleF)data, boundsDraws an image from a stream in the specified page rectangle. The image is scaled to fit the rectangle.