Exception | Description |
---|---|
System.ArgumentNullException | grid is null. |
System.ArgumentNullException | report is null. |
Imports Infragistics.Documents.Report Imports Infragistics.Win.UltraWinGrid.DocumentExport Imports Infragistics.Documents.Report.Section ' Create a new report Dim report As Report = New Report() ' Export the grid into the report. This will automatically create a new ' section in the report. Dim section As ISection = Me.ultraGridDocumentExporter1.Export(Me.ultraGrid1, report) ' Publish the report. report.Publish("grid.pdf", FileFormat.PDF)
using Infragistics.Documents.Report; using Infragistics.Win.UltraWinGrid.DocumentExport; using Infragistics.Documents.Report.Section; // Create a new report Report report = new Report(); // Export the grid into the report. This will automatically create a new // section in the report. ISection section = this.ultraGridDocumentExporter1.Export(this.ultraGrid1, report); // Publish the report. report.Publish("grid.pdf", FileFormat.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