Back to Devexpress

PivotGridControl.ExportToImage(Stream, ImageExportOptions) Method

windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotgridcontrol-dot-exporttoimage-x28-system-dot-io-dot-stream-devexpress-dot-xtraprinting-dot-imageexportoptions-x29.md

latest2.2 KB
Original Source

PivotGridControl.ExportToImage(Stream, ImageExportOptions) Method

Exports the control’s data to the specified stream in Image format using the specified Image-specific options.

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.XtraPivotGrid.v25.2.dll

NuGet Package : DevExpress.Win.PivotGrid

Declaration

csharp
public void ExportToImage(
    Stream stream,
    ImageExportOptions options
)
vb
Public Sub ExportToImage(
    stream As Stream,
    options As ImageExportOptions
)

Parameters

NameTypeDescription
streamStream

A Stream object, to which the created document is exported.

| | options | ImageExportOptions |

An ImageExportOptions object that contains the export options.

|

Remarks

This method indirectly calls the PrintingSystemBase.ExportToImage method of the XtraPrinting Library. If this library is not available, the method does nothing. For details on the ExportToImage method, see the PrintingSystemBase.ExportToImage topic.

Note

The following image formats are supported:

PNG, BMP, GIF, JPEG, TIFF, EMF, WMF, ICO

See Also

PivotGridControl Class

PivotGridControl Members

DevExpress.XtraPivotGrid Namespace