FilePageSetupMargins Method
Sets up margins for printing.
Syntax
expression**.FilePageSetupMargins(Name, Top, Bottom, Left, Right, Borders)**
*expression * Optional. An expression that returns an Application object.
Name Optional String. The name of the view or report for which to set up margins for printing.
Top Optional Long. The size of the top margin in inches or centimeters.
Bottom Optional Long. The size of the bottom margin in inches or centimeters.
Left Optional Long. The size of the left margin in inches or centimeters.
Right Optional Long. The size of the right margin in inches or centimeters.
Borders Optional Long. Where to print borders. Can be one of the following PjBorder constants: pjNoBorder, pjAroundEveryPage, or pjOutsidePages.
Remarks
Using the FilePageSetupMargins method without specifying any arguments displays the Page Setup dialog box with the Margins tab selected.
Applies to | Application Object
See Also | FilePageSetupCalendar Method | FilePageSetupCalendarText Method | FilePageSetupFooter Method | FilePageSetupHeader Method | FilePageSetupLegend Method | FilePageSetupPage Method | FilePageSetupView Method