Skip to main content

GridControlPrintExtensions.Export(GridControl, ExportFormat, Stream) Method

Exports GridControl data to a stream in the specified file format.

Namespace: DevExpress.WinUI.Grid.Printing

Assembly: DevExpress.WinUI.Grid.Printing.v23.2.dll

NuGet Package: DevExpress.WinUI

Declaration

public static void Export(
    this GridControl gridControl,
    ExportFormat format,
    Stream stream
)

Parameters

Name Type Description
gridControl GridControl

The exported GridControl.

format ExportFormat

The exported file’s format.

stream Stream

A stream to which the GridControl sends the created file.

See Also