Glossary Item Box

Samples | Walkthroughs

See Also ActiveReports for .NET 2 Online Help Send feedback to Data Dynamics

Walkthrough: Orientation

This walkthrough illustrates how to make simple modifications to the page orientation of your report for printing.

This walkthrough is split up into the following activities:

Accessing the printer settings dialog

To access the printer settings dialog

  1. Open an existing ActiveReport.
  2. Click on any section of the report to select it.
  3. Click on Report > Settings...

  4. Click on Printer Settings.

Changing the page orientation of your report for printing

To change the page orientation of your report for printing

  1. Go to the printer settings dialog.
  2. In the orientation box, select either portrait or landscape.

  3. Click OK to return to the report.

Note   Page orientation can only be modified before the report runs. Otherwise, changes made to the page orientation will not be reflected when printed.

Using code to change the page orientation

To write the code in Visual Basic

To write the code in C#

Viewing the report

To view the report

  1. Add the ActiveReports viewer control to a Windows Form.
  2. Add the code needed to set the viewer document equal to the report document. See Using the ActiveReports WinForm Viewer for help.

Samples | Walkthroughs

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.