' レポートを作成します。
Dim report As New Infragistics.Documents.Reports.Report.Report()
' セクションをレポートに追加します。
Dim section As ISection = report.AddSection()
' WinGrid をセクションにエクスポートします。
Me.UltraGridDocumentExporter1.Export(Me.ultraGrid1, section)
' レポートから PDF ファイルを作成して
' "WinGrid_Report.pdf" という名前を指定します。
report.Publish("C:\Report\WinGrid_Report.pdf", _
Infragistics.Documents.Reports.Report.FileFormat.PDF)