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

In This Topic
    PrintOptions Property (SectionDocument)
    In This Topic
    Gets a value representing the options for report printing.
    Syntax
    'Declaration
     
    Public ReadOnly Property PrintOptions As PrintOptions
    public PrintOptions PrintOptions {get;}

    Property Value

    A PrintOptions value that represents the print options.
    Example
    var sectionDocument = new GrapeCity.ActiveReports.Document.SectionDocument();
    sectionDocument.Load("Document.rdf");
    sectionDocument.PrintOptions.PageScaling = GrapeCity.ActiveReports.Printing.PageScaling.MultiplePages;
    sectionDocument.PrintOptions.PagesPerSheet = 2;
    sectionDocument.PrintOptions.AutoRotate = true;
    sectionDocument.PrintOptions.PrintPageBorder = true;
    //To call the Print method, add a reference to Viewer.Win or Viewer.WPF
    sectionDocument.Print();
    See Also