We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

GetPageRotation isn't working

Hi,

I'm using PdfFileInfo to check the orientation of a document is if a document is in landscape then it must be rotated.

The method GetPageRotation doesn't return the correct information for all PDF documents.

Attached a PDF that isn't working.

Kink Regards

Ibbe Verlooy

Hi Ibbe,

We’re looking into this issue at our end and you’ll be updated with the results the earliest possible.

We’re sorry for the inconvenience.
Regards,

Hi,

<span lang=“EN-US” style=“font-size:9.0pt;line-height:115%;font-family:“Tahoma”,“sans-serif”;
color:black;mso-ansi-language:EN-US”>We found a workaround
for the
problem so this isn’t high priority for us anym

ore<span lang=“EN-US” style=“font-size:9.0pt;line-height:115%;font-family:“Tahoma”,“sans-serif”;
color:black;mso-ansi-language:EN-US”>.<o:p></o:p>

<span lang=“EN-US” style=“font-size:9.0pt;line-height:115%;font-family:“Tahoma”,“sans-serif”;
color:black;mso-ansi-language:EN-US”>

Just though
you should know.<o:p></o:p>

Kind Regards

Ibbe.

Hi Ibbe,

I have tested this issue at my end, however I have noticed that the pages of the sample PDF file are not rotated, rather these are the images on the pages which are rotated. That’s why the GetPageRotation method returns the 0 value, showing that the pages are not rotated. Kindly, check this at your end.

If you still find any issue or have some more questions, please do let us know.
Regards,