ActiveReports 18 .NET Edition
MESCIUS.ActiveReports Assembly / GrapeCity.ActiveReports Namespace / PageSettings Class / Collate Property
Example

In This Topic
    Collate Property (PageSettings)
    In This Topic
    Gets or sets a value indicating whether the report document is collated.
    Syntax
    'Declaration
     
    Public Property Collate As PageSettings.PrinterCollate
    public PageSettings.PrinterCollate Collate {get; set;}

    Property Value

    A PrinterCollate enumeration value.  Default is PrinterCollate.Default.
    Remarks

    Collating is performed only when the number of copies is greater than 1.

    Setting the property to PrinterCollate.Collate will print a complete copy of the document before the first page of the next copy is printed. PrinterCollate.DontCollate will print each page by the number of copies specified before printing the next page. PrinterCollate.Default will use the printer's collate setting.

    Example
    private void rptPageSettings_ReportStart(object sender, System.EventArgs eArgs)
    {
        this.PageSettings.Collate = GrapeCity.ActiveReports.PageSettings.PrinterCollate.Collate;
    }
    Private Sub rptPageSettings_ReportStart(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportStart
       Me.PageSettings.Collate = PageSettings.PrinterCollate.Collate
    End Sub
    See Also