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

Declaration

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

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