- Posts: 38
- Thank you received: 0
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Questions about iOS development and PDF
error when toggling between portrait and landscape mode
IP: 47.44.172.50
8 years 3 months ago #13913
by pooja
error when toggling between portrait and landscape mode was created by pooja
Hi,
PDF screen turns white when user toggles between portrait and landscape mode when in a form. Also, toggling between horizontal and vertical erases text in PDF. Text should always stay. Both these issues are happening for iOS and Android both. Please suggest fix.
Thanks,
Pooja
PDF screen turns white when user toggles between portrait and landscape mode when in a form. Also, toggling between horizontal and vertical erases text in PDF. Text should always stay. Both these issues are happening for iOS and Android both. Please suggest fix.
Thanks,
Pooja
IP: 37.183.44.177
8 years 3 months ago #13914
by Davide
Replied by Davide on topic error when toggling between portrait and landscape mode
Hi,
this is an expected behaviour, because when you rotate the device, the pdf has to be re-scaled and re-rendered.
this is an expected behaviour, because when you rotate the device, the pdf has to be re-scaled and re-rendered.
IP: 47.44.172.50
8 years 3 months ago - 8 years 3 months ago #13918
by pooja
Replied by pooja on topic error when toggling between portrait and landscape mode
But it should not clear the form fields right? It currently clears the form fields after rotate. For eg. if I write something to a form field, and rotate the device, the text is gone. Expected behavior is that the text stays even after rotate.
Last edit: 8 years 3 months ago by pooja.
IP: 37.183.44.177
8 years 3 months ago #13921
by Davide
Replied by Davide on topic error when toggling between portrait and landscape mode
Hi,
can you reproduce the issue with the last demo project? www.radaeepdf.com/download/download-prev...e/66-radaeepdf-3152b
Can you reproduce it with all the pdfs?
Can you please send us a pdf with that issue?
We have tried with some pdfs but we can't reproduce it.
can you reproduce the issue with the last demo project? www.radaeepdf.com/download/download-prev...e/66-radaeepdf-3152b
Can you reproduce it with all the pdfs?
Can you please send us a pdf with that issue?
We have tried with some pdfs but we can't reproduce it.
IP: 47.44.172.50
8 years 2 months ago #13925
by pooja
Replied by pooja on topic error when toggling between portrait and landscape mode
Yes. I have attached the file. Type something in one of the fields, keep the cursor on that field after typing, don't move it. Rotate screen now. You will see that the text is gone.
IP: 212.97.62.176
8 years 2 months ago #13928
by emanuele
Replied by emanuele on topic error when toggling between portrait and landscape mode
Hi,
this is the standard behavior of the demo project.
When you tap an edit text annotation a native textfield is added on it, then you can type some text.
If you rotate the device without tapping on return key or on the screen, the page will be re-rendered and the textfield will be removed without calling the annot save method.
If you want to change this behavior, you can edit the rotation method and save the textfield annot content.
this is the standard behavior of the demo project.
When you tap an edit text annotation a native textfield is added on it, then you can type some text.
If you rotate the device without tapping on return key or on the screen, the page will be re-rendered and the textfield will be removed without calling the annot save method.
If you want to change this behavior, you can edit the rotation method and save the textfield annot content.
Time to create page: 0.491 seconds