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.v24.2.dll
NuGet Package: DevExpress.Drawing
#Declaration
public void DrawImage(
DXImage image,
RectangleF destRect,
RectangleF srcRect
)
#Parameters
Name | Type | Description |
---|---|---|
image | DXImage | An image to draw. |
dest |
Rectangle |
The image size and location. |
src |
Rectangle |
The portion of the image to draw. |