GraphicsCache.DrawImage(Image, Rectangle, Rectangle, Boolean) Method
Draws the specified Image portion with the specified size.
Namespace: DevExpress.Utils.Drawing
Assembly: DevExpress.Utils.v24.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
image | Image | An Image to draw. |
destRect | Rectangle | A Rectangle structure that specifies the drawn image’s location and size. The image is scaled to fit the rectangle. |
scrRect | Rectangle | A Rectangle structure that specifies the image portion to be drawn. |
enabled | Boolean | true if the image should be painted as is; false to draw a grayed-out “disabled” image. |
See Also