FilePageSetupView Method
Sets up view-specific options for printing.
Syntax
expression**.FilePageSetupView(Name, AllSheetColumns, RepeatColumns, PrintNotes, PrintBlankPages, BestPageFitTimescale)**
*expression * Optional. An expression that returns an Application object.
Name Optional String. The name of the view or report for which to set up pages for printing.
AllSheetColumns Optional Boolean. True if all table columns print. False if only visible table columns print. This argument is only available when the Task Usage view, Resource Usage view, or one of the Gantt views is the active view.
RepeatColumns Optional Integer. The number of table columns to print on each page. This argument is only available when the Task Sheet, Task Usage view, Resource Sheet, Resource Usage view, or one of the Gantt views is the active view.
PrintNotes Optional Boolean. True if notes print. If the active view is the Resource Graph, PrintNotes is ignored.
PrintBlankPages Optional Boolean. True if blank pages print. This argument is only available when the Task Usage view, Resource Usage view, Network Diagram view, or one of the Gantt views is the active view.
BestPageFitTimescale Optional Boolean. True if the timescale is adjusted so the last printed page is exactly full. This argument is only available when the Task Usage view, Resource Usage view, Resource Graph, or one of the Gantt views is the active view.
Remarks
Using the FilePageSetupView method without specifying any arguments displays the Page Setup dialog box with the View tab selected.
The FilePageSetupView method is not available when the Calendar is the active view.
Applies to | Application Object
See Also | FilePageSetupCalendar Method | FilePageSetupCalendarText Method | FilePageSetupFooter Method | FilePageSetupHeader Method | FilePageSetupLegend Method | FilePageSetupMargins Method | FilePageSetupPage Method