Hello, I am unsure what I am doing wrong but I am unable to rotate page.
Following code produces all wrong oriented pdf files.
var pdfDocument = PdfDocument.Load(file.OpenReadStream(), "");
var p = pdfDocument.GetPage(0);
p.SetRotation(0);
pdfDocument.Save("./0.pdf");
p.SetRotation(1);
pdfDocument.Save("./1.pdf");
p.SetRotation(2);
pdfDocument.Save("./2.pdf");
p.SetRotation(3);
pdfDocument.Save("./3.pdf");
Hello, I am unsure what I am doing wrong but I am unable to rotate page.
Following code produces all wrong oriented pdf files.