' For complete examples and data files, please go to https://github.com/groupdocs-watermark/GroupDocs.Watermark-for-.NET
Using doc As WordsDocument = Document.Load(Of WordsDocument)("D:\test.docx")
Console.WriteLine(doc.Sections(0).PageSetup.Width)
Console.WriteLine(doc.Sections(0).PageSetup.Height)
Console.WriteLine(doc.Sections(0).PageSetup.TopMargin)
Console.WriteLine(doc.Sections(0).PageSetup.RightMargin)
Console.WriteLine(doc.Sections(0).PageSetup.BottomMargin)
Console.WriteLine(doc.Sections(0).PageSetup.LeftMargin)
End Using