Application.FilePageSetupView Method (Project)
Sets up view-specific options for printing.
Syntax
expression .FilePageSetupView(Name, AllSheetColumns, RepeatColumns, PrintNotes, PrintBlankPages, BestPageFitTimescale, PrintColumnTotals, PrintRowTotals)
expression A variable that represents an Application object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
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. |
PrintColumnTotals |
Optional |
Variant |
NOT available at this time. |
PrintRowTotals |
Optional |
Variant |
NOT available at this time. |
Return Value
Boolean
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.