ActiveReports Developer 7
Collate Property
See Also  Example
GrapeCity.ActiveReports.v7 Assembly > GrapeCity.ActiveReports Namespace > PageSettings Class : Collate Property

Glossary Item Box

Gets or sets a value indicating whether the report document is collated.

Syntax

Visual Basic (Declaration) 
Public Property Collate As PageSettings.PrinterCollate
C# 
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

C#Copy Code
private void rptPageSettings_ReportStart(object sender, System.EventArgs eArgs)
{
    this.PageSettings.Collate = GrapeCity.ActiveReports.PageSettings.PrinterCollate.Collate;
}
Visual BasicCopy Code
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