Skip to main content

ASPxGaugeControl.ExportToPdf(Stream, PdfExportOptions) Method

Exports the ASPxGaugeControl to the specified stream in PDF format using the specified options.

Namespace: DevExpress.Web.ASPxGauges

Assembly: DevExpress.Web.ASPxGauges.v23.2.dll

NuGet Package: DevExpress.Web.Visualization

Declaration

public void ExportToPdf(
    Stream stream,
    PdfExportOptions options
)

Parameters

Name Type Description
stream Stream

A Stream object, to which the ASPxGaugeControl is exported.

options PdfExportOptions

A PdfExportOptions object which specifies the export options to be applied when the control is exported.

Remarks

The ASPxGaugeControl’s export methods indirectly call the corresponding methods in the XtraPrinting Library. If this library is not available, export methods do nothing.

See Also