how to Rotate existing RadFixedDocument?

0 Answers 13 Views
PdfProcessing
Alexandre
Top achievements
Rank 1
Alexandre asked on 10 May 2022, 08:01 PM

I can rotate in RadFixedDocumentEditor using SectionProperties.PageRotation, but if I use


using (RadFixedDocumentEditor editorDocument = new(document))
        {          
            editorDocument.SectionProperties.PageRotation = Rotation.Rotate90;
            editorDocument.InsertRun("Test Run.");          
        }

where document already exist it rotates only what you insert after.

 

Alexandre
Top achievements
Rank 1
commented on 10 May 2022, 08:15 PM

done
 document.Pages[0].Rotation = Rotation.Rotate90;
 document.Pages[1].Rotation = Rotation.Rotate90;

Svilen
Telerik team
commented on 11 May 2022, 02:39 PM

Hello, Alexandre,

That is correct, glad to see you were able to find the solution so fast.

Regards,
Svilen
Progress Telerik

No answers yet. Maybe you can help?

Tags
PdfProcessing
Asked by
Alexandre
Top achievements
Rank 1
Share this question
or