Posted by a ceTe Software moderator
Hi,
The behavior you are seeing is due to a feature added to handle the page rotation accordingly to add the contents in correct orientation. This is a breaking change in v11, and you may want to update your code accordingly
If you want to rotate the contents, then please set the Angle property and dimensions of respective page element to desired value.
Here is a code sample:
Document document = new Document();
TextArea area = new TextArea("This is to test", 692, 100, 120, 200);
area.Angle = 90;
Page page1 = new Page(PageSize.A4, 10f);
page1.Elements.Add(area);
page1.Rotate = 90;
document.Pages.Add(page1);
string outputPdf = "C:\\Temp\\MyDocument.pdf";
document.Draw(outputPdf);
Thanks,
ceTe Software Support Team