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

Band.ToImage(TextRenderingHint) Method

Replaces the XRControl.ToImage method.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.1.dll

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

Declaration

public override Image ToImage(
    TextRenderingHint textRenderingHint
)

Parameters

Name Type Description
textRenderingHint TextRenderingHint

One of the TextRenderingHint values that specifies the text rendering mode.

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