PageSetup (Layout Editor)

Use: Specifies page setup for printing.

Command: File>Page Setup

Syntax: PageSetup <ArgArray>

Return Value: None.

Parameters: <Margins>: Page margins in implicit units of inches.

<Border>: Integer value indicating to draw border (1) or not to draw (0).

<DesignVars>: Integer value indicating to draw design vars (1) or not to draw (0).

VB Example: Set oProject = oDesktop.GetActiveProject()

Set oDesign = oProject.GetActiveDesign()

Set oEditor = oDesign.GetActiveEditor()

oEditor.PageSetup Array("NAME:PageSetupData", "margins:=", Array("left:=", 550, "right:=", _

550, "top:=", 500, "bottom:=", 500), "border:=", 1, "DesignVars:=", 0)