GridControl.RenderToBitmap(Bitmap, Rectangle) Method

Renders the grid control to the specified bitmap.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v20.1.dll


public void RenderToBitmap(
    Bitmap bitmap,
    Rectangle targetBounds
Public Sub RenderToBitmap(
    bitmap As Bitmap,
    targetBounds As Rectangle


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