ActiveReports 9
Collate Property (PageSettings)
Example 

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
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PageSettings Class
PageSettings Members

 

 


Copyright © 2014 GrapeCity, inc. All rights reserved

Support Forum