FileDocumentLayout

Syntax

FileDocumentLayout [.Tab = number] [, .TopMargin = number or text] [, .BottomMargin = number or text] [, .LeftMargin = number or text] [, .RightMargin = number or text] [, .Gutter = number or text] [, .PageWidth = number or text] [, .PageHeight = number or text] [, .Orientation = number] [, .FirstPage = number] [, .OtherPages = number] [, .VertAlign = number] [, .ApplyPropsTo = number] [, .Default] [, .FacingPages = number] [, .HeaderDistance = number or text] [, .FooterDistance = number or text] [, .SectionStart = number] [, .OddAndEvenPages = number] [, .DifferentFirstPage = number] [, .Endnotes = number] [, .LineNum = number] [, .StartingNum = number] [, .FromText = number or text] [, .CountBy = number] [, .NumMode = number]

Remarks

On the Macintosh, sets page attributes such as margins and page width for the entire document or sections within the document. With the exception of .Tab, the arguments for FileDocumentLayout are the same as the arguments described for FilePageSetup. In Windows, use FilePageSetup.

Argument

Explanation

.Tab

Specifies which tab to select when you display the Document Layout dialog box with a Dialog or Dialog() instruction:

0 (zero) Margins

1 If QuickDraw GX is installed, Paper Size; if not, Margins

2 Margins

3 Layout


Keep the following points in mind when using FileDocumentLayout:

See Also

FileMacPageSetup, FileMacPageSetupGX, FileMacCustomPageSetupGX, FilePageSetup, FormatColumns