'Declaration Public Overloads Sub Export( _ ByVal grid As Infragistics.Win.UltraWinGrid.UltraGrid, _ ByVal stream As Stream, _ ByVal fileFormat As GridExportFileFormat _ )
public void Export( Infragistics.Win.UltraWinGrid.UltraGrid grid, Stream stream, GridExportFileFormat fileFormat )
Exception | Description |
---|---|
System.ArgumentNullException | grid is null. |
System.ArgumentNullException | stream is null. |
Imports Infragistics.Documents.Report Imports Infragistics.Win.UltraWinGrid.DocumentExport ' Create a memory stream Dim stream As MemoryStream = New MemoryStream() ' Export the grid into the stream. Me.ultraGridDocumentExporter1.Export(Me.ultraGrid1, stream, GridExportFileFormat.PDF)
using Infragistics.Documents.Report; using Infragistics.Win.UltraWinGrid.DocumentExport; // Create a memory stream MemoryStream stream = new MemoryStream(); // Export the grid into the stream. this.ultraGridDocumentExporter1.Export(this.ultraGrid1, stream, GridExportFileFormat.PDF);
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2