Back to Devexpress

DXBitmap.Crop(Rectangle) Method

corelibraries-devexpress-dot-drawing-dot-dxbitmap-dot-crop-x28-system-dot-drawing-dot-rectangle-x29.md

latest1.2 KB
Original Source

DXBitmap.Crop(Rectangle) Method

Crops the bitmap to the specified rectangle.

Namespace : DevExpress.Drawing

Assembly : DevExpress.Drawing.v25.2.dll

NuGet Package : DevExpress.Drawing

Declaration

csharp
public DXBitmap Crop(
    Rectangle rectangle
)
vb
Public Function Crop(
    rectangle As Rectangle
) As DXBitmap

Parameters

NameTypeDescription
rectangleRectangle

An area to which the bitmap should be cropped.

|

Returns

TypeDescription
DXBitmap

The resulting bitmap.

|

See Also

DXBitmap Class

DXBitmap Members

DevExpress.Drawing Namespace