Skip to main content
All docs
V25.1
  • DXBitmap.Crop(RectangleF) Method

    Crops the bitmap to the specified rectangle.

    Namespace: DevExpress.Drawing

    Assembly: DevExpress.Drawing.v25.1.dll

    NuGet Package: DevExpress.Drawing

    Declaration

    public DXBitmap Crop(
        RectangleF rectangle
    )

    Parameters

    Name Type Description
    rectangle RectangleF

    An area to which the bitmap should be cropped.

    Returns

    Type Description
    DXBitmap

    The resulting bitmap.

    See Also