
'Declaration Public Class SectionDocument Inherits GrapeCity.ActiveReports.Core.Document.GenericDocument(Of Page,PagesCollection) Implements GrapeCity.ActiveReports.Core.Document.IDocument(Of Page)
public class SectionDocument : GrapeCity.ActiveReports.Core.Document.GenericDocument<Page,PagesCollection>, GrapeCity.ActiveReports.Core.Document.IDocument<Page>
GrapeCity.ActiveReports.Document.SectionDocument document = new GrapeCity.ActiveReports.Document.SectionDocument("MyReport"); document.Load("Document.rdf"); document.Printer.PrinterName = "TheNetworkPrinterName"; document.Printer.Landscape = true; try { document.Printer.Print(); } catch (Exception ex) { Console.WriteLine($"Printing failed: {ex.Message}"); }
System.Object
GrapeCity.ActiveReports.Core.Document.DocumentBase<PageType>
GrapeCity.ActiveReports.Core.Document.GenericDocument<PageType,PagesCollectionType>
GrapeCity.ActiveReports.Document.SectionDocument