GraphicsCache.DrawImage(Image, RectangleF, RectangleF, GraphicsUnit) Method
In This Article
Draws an Image portion at the specified location and with the specified size.
Namespace: DevExpress.Utils.Drawing
Assembly: DevExpress.Utils.v24.2.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
#Declaration
public void DrawImage(
Image image,
RectangleF destRect,
RectangleF srcRect,
GraphicsUnit srcUnit
)
#Parameters
Name | Type | Description |
---|---|---|
image | Image | An Image to draw. |
dest |
Rectangle |
A Rectangle |
src |
Rectangle |
A Rectangle |
src |
Graphics |
A Graphics |
See Also