When setting page orientation Upwards and Downwards do the same


When setting the TextOrientation to .Downward or .Upward
Both produce the same output. (both appear as “Upward”)

Document doc = new Document@(“C:\temp\test.txt”);
foreach (Section section in doc.Sections)
section.PageSetup.TextOrientation = TextOrientation.Downward;



Thanks for your inquiry. To ensure a timely and accurate response, please ZIP and attach the following resources here for testing:

  • Your simplified input file
  • Aspose.Words 19.10 generated output DOCX file showing the undesired behavior
  • Your expected DOCX Word document showing the correct output. You can create expected document by using MS Word.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you code to achieve the same output by using Aspose.Words. Thanks for your cooperation.