Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.52 KB

Project.Application.FilePageSetupMargins.md

File metadata and controls

49 lines (31 loc) · 1.52 KB
title keywords f1_keywords ms.service api_name ms.assetid ms.date ms.localizationpriority
Application.FilePageSetupMargins method (Project)
vbapj.chm2356
vbapj.chm2356
project-server
Project.Application.FilePageSetupMargins
c36099a7-4ed2-0f0c-c3bb-9af35c88eb35
06/08/2017
medium

Application.FilePageSetupMargins method (Project)

Sets up margins for printing.

Syntax

expression. FilePageSetupMargins( _Name_, _Top_, _Bottom_, _Left_, _Right_, _Borders_ )

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 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.

Return value

Boolean

Remarks

Using the FilePageSetupMargins method without specifying any arguments displays the Page Setup dialog box with the Margins tab selected.

[!includeSupport and feedback]