--- title: "Changing Page Setup for Whole Document" --- ``` ## Purpose Summary This page explains how to modify page setup properties (margins, size, orientation) for an entire document using Aspos...... ## VSTO ```csharp string mypath = "Document.docx";...wdPaperLetter; ``` ## Aspose.Words ```csharp Document doc = new Document(...