Back to Devexpress

DXGraphics.DrawImage(DXImage, RectangleF, RectangleF) Method

corelibraries-devexpress-dot-drawing-dot-dxgraphics-dot-drawimage-x28-devexpress-dot-drawing-dot-dximage-system-dot-drawing-dot-rectanglef-system-dot-drawing-dot-rectanglef-x29.md

latest1.5 KB
Original Source

DXGraphics.DrawImage(DXImage, RectangleF, RectangleF) Method

Draws a portion of the image so that it fits into the specified rectnangle.

Namespace : DevExpress.Drawing

Assembly : DevExpress.Drawing.v25.2.dll

NuGet Package : DevExpress.Drawing

Declaration

csharp
public void DrawImage(
    DXImage image,
    RectangleF destRect,
    RectangleF srcRect
)
vb
Public Sub DrawImage(
    image As DXImage,
    destRect As RectangleF,
    srcRect As RectangleF
)

Parameters

NameTypeDescription
imageDXImage

An image to draw.

| | destRect | RectangleF |

The image size and location.

| | srcRect | RectangleF |

The portion of the image to draw.

|

See Also

DXGraphics Class

DXGraphics Members

DevExpress.Drawing Namespace