[]
Gets a value representing the report output that can be printed, displayed in the viewer or exported to an external document.
[Browsable(false)]
public SectionDocument Document { get; }
Type | Description |
---|---|
SectionDocument | A SectionDocument instance. |
Allows to modify already rendered document or specify "Printer" properties.
var sectionReport = new GrapeCity.ActiveReports.SectionReport();
XmlTextReader xtr = new XmlTextReader(reportName);
sectionReport.LoadLayout(xtr);
sectionReport.Document.Printer.PrinterName = String.Empty;
sectionReport.Run();
IDocumentExport documentExportEx = new GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport();
using (var stream = new FileStream(fileName, FileMode.Create))
documentExportEx.Export(sectionReport.Document, stream);