例外 | 解説 |
---|---|
System.ArgumentNullException | grid が null です。 |
System.ArgumentNullException | section が 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() ' Add a section. Dim section As ISection = report.AddSection() ' Export the grid into the section. Me.ultraGridDocumentExporter1.Export(Me.ultraGrid1, section) ' 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(); // Add a section. ISection section = report.AddSection(); // Export the grid into the section. this.ultraGridDocumentExporter1.Export(this.ultraGrid1, section); // Publish the report. report.Publish("grid.pdf", FileFormat.PDF);