We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Rotating a PDF Page

Thread ID:

Created:

Updated:

Platform:

Replies:

141557 Dec 18,2018 06:13 AM UTC Dec 19,2018 08:43 AM UTC ASP.NET MVC - EJ 2 1
loading
Tags: PDF
Damien Turnbull
Asked On December 18, 2018 06:13 AM UTC

Hi

I have a PDF file which seems to be saved with a specific rotation. This is causing us issues when inserting svg into it using anther tool.

I was wondering if you could tell me if there's a way to remove the rotation so that the current rotation of 270 is set as 0, but the page does not actually rotate.

So we essentially we want the current rotation of 270 to equal 0, but not rotate the page.

Does that make sense?





Attachment: Sample_f10f8177.zip

Karthikeyan Chandrasekar [Syncfusion]
Replied On December 19, 2018 08:43 AM UTC

Hi Damien, 
Greetings from Syncfusion support. 
We can get the rotated content from an existing PDF and draw the content in new PDF with the rotation 0 by using PdfTemplate. While using the PdfTemplate, layer collection for an existing PDF will not maintained and the layer content will be preserved in the page graphics.  We have created a sample to achieve your requirement. Please find the sample and output below for your reference. 


 
Regards, 
Karthikeyan 
 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;