Back to Devexpress

DXBitmap.Crop(RectangleF) Method

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

latest1.2 KB
Original Source

DXBitmap.Crop(RectangleF) 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(
    RectangleF rectangle
)
vb
Public Function Crop(
    rectangle As RectangleF
) As DXBitmap

Parameters

NameTypeDescription
rectangleRectangleF

An area to which the bitmap should be cropped.

|

Returns

TypeDescription
DXBitmap

The resulting bitmap.

|

See Also

DXBitmap Class

DXBitmap Members

DevExpress.Drawing Namespace