Scripting PageSetup¶ PageSetup.Orientation Gets or sets the page setup. PageSetup.PageBorders Gets the page borders. PageSetup.PageColor Gets or sets the background color for all pages of the parent section.