-
I saw that the function page.remove_rotation() was added in 1.24.3. I have been using page.set_rotation(0) for a similar purpose prior to this function addition. In the change-log I see that the description says: Does this mean that page.set_rotation(0) has the potential to affect the appearance of the page, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Absolutely! to
|
Beta Was this translation helpful? Give feedback.
Absolutely!
Page.set-rotation()
certainly changes the appearance! E.g. with the value 90, everything will appear rotated clockwise.The attractive benefit of
Page.remove_rotation()
is that, given a page rotated by 90° clockwise and text being written on it in a way that is readable (= it has been written rotated by -90° relative to that page) in the normal way, top-left to bottom-right.If you set the rotation of that page to 0, text will appear written from bottom-left to top-right. I.e. from:
to
Page.remove_rotation()
prevent this from happening. The page will have rotation 0, but an exchanged width / height and no visual differences.