ActiveReports3 Request technical support
Collate Property
See Also  Example


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

Syntax

Visual Basic (Declaration) 
Public Property Collate As PageSettings.PrinterCollate
Visual Basic (Usage)Copy Code
Dim instance As PageSettings
Dim value As PageSettings.PrinterCollate
 
instance.Collate = value
 
value = instance.Collate
C# 
public PageSettings.PrinterCollate Collate {get; set;}

Return Value

A PrinterCollate enumeration value.  Default is PrinterCollate.Default.

Example

C#Copy Code
private void rptPageSettings_ReportStart(object sender, System.EventArgs eArgs)
{
   
this.PageSettings.Collate = DataDynamics.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

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.

See Also