You are viewing limited content. For full access, please sign in.

Question

Question

9.1 .NET DocumentExporter RotationAngle in ExportPage vs. ExportThumbnail

SDK
asked on October 29, 2014

I am exporting some images using ExportPage and ExportThumbnail. If I have an image page stored with a rotation angle of 90, 180, or 270, when using ExportThumbnail, I retrieve and set the rotation angle based on the ImageRotationAngle from the PageInfo object. The thumbnail exports correctly with the proper rotation:

 

Dim de As New DocumentExporter
de.PageFormat = DocumentPageFormat.Png
de.RotationAngle = pi.ImageRotationAngle * 100
de.ExportThumbnail(d, CInt(pg), mystream)

However, when I use the same methodology to export a full image page, I set the RotationAngle and then use ExportPages method, but I get the incorrect rotation:

de.RotationAngle = pi.ImageRotationAngle * 100
de.ExportPages(d, New PageSet(pg), mystream)

 

In all cases, the thumbnail matches the expected appearance, but the ExportPages method seems to only match the thumbnail at RotationAngle 0. It seems that the ExportPages method automatically applies the ImageRotationAngle while the ExportThumbnail method does not.

 

Please advise if this is a bug or a "feature" of DocumentExporter.

 

1 0

Replies

replied on March 30, 2020

I can confirm this is still the case in the SDK 10.2 . Pages export according to the page-rotation stored in the repository, but thumbnails export without any auto-rotation.  

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.