Gets page width for current section.
This method doesn't have any parameters.
builder.CreateFile("docx"); var oDocument = Api.GetDocument(); var oParagraph = oDocument.GetElement(0); var oSection = oDocument.GetFinalSection(); var nWidth = oSection.GetPageWidth(); oParagraph.AddText("Page width = " + nWidth); builder.SaveFile("docx", "GetPageWidth.docx"); builder.CloseFile();