Skip to main content

GridControl.RenderToBitmap(Bitmap, Rectangle) Method

Renders the grid control to the specified bitmap.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v23.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public void RenderToBitmap(
    Bitmap bitmap,
    Rectangle targetBounds
)

Parameters

Name Type Description
bitmap Bitmap

The graphics surface to which to render the control.

targetBounds Rectangle

The bounds within which the control is rendered.

See Also