The requested page is not available for the requested platform. You are viewing the content for Default platform.

Band.ToImage(TextRenderingHint) Method

Replaces the XRControl.ToImage method.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.1.dll


public override Image ToImage(
    TextRenderingHint textRenderingHint
Public Overrides Function ToImage(
    textRenderingHint As TextRenderingHint
) As Image


Name Type Description
textRenderingHint TextRenderingHint

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


Type Description

A Image object.


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