Skip to main content
A newer version of this page is available. .

Band.ToImage() Method

Replaces the XRControl.ToImage method.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v20.2.dll

NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.Reporting.Core

Declaration

public override Image ToImage()

Returns

Type Description
Image

A Image object.

Remarks

This method isn’t supported by the Band class. If calling the ToImage method for a Band object, then a NotImplementedException will be thrown.

Use the XtraReport.ExportToImage method to export your report object as an image.

See Also