ActiveReports 19 .NET Edition
MESCIUS.ActiveReports Assembly / GrapeCity.ActiveReports.Document Namespace / SectionDocument Class
Members Example

In This Topic
    SectionDocument Class
    In This Topic
    Represents a section document section in ActiveReports, encapsulating pages and their collection. This class extends the generic document structure to provide specific functionalities for handling pages within a section-based report document. It includes features such as compatibility mode settings for rendering, font resolution for cross-platform rendering, document content management, printer settings, print options, and event handling for print progress, print abortion, and printing errors.
    Object Model
    SectionDocument Class
    Syntax
    Example
    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}");
    }
    Inheritance Hierarchy
    See Also