Logo
My Account |  Site Map | Contact Us  
Welcome Guest Search | Active Topics | Sign In | Register

Text orientation changes when field is read only Options
Grant Hawkes
Posted: Monday, January 7, 2019 1:29:32 PM
Rank: Newbie
Groups: Member

Joined: 4/27/2018
Posts: 5
Hi,
We have a PDF template that has fields with a vertical orientation (270 degrees) and we have found that when we set the ReadOnly property on the fields the field is still oriented at 270 degrees but the text is rendered normally (0 degrees). We have attempted to get around the problem by not setting the read only property on the fields and disallowing ModifyContents, FillingFormFields, and Commenting just before calling the PdfDocument.Save method and the result was the same. Is there another work around or any way to maintain the properties of form fields when setting them to read only?
eo_support
Posted: Monday, January 7, 2019 2:42:27 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 21,094
Hi,

Can you send us a sample PDF file that demonstrates the problem? See here for more details:

https://www.essentialobjects.com/forum/test_project.aspx

Thanks!
Grant Hawkes
Posted: Tuesday, January 8, 2019 6:15:18 PM
Rank: Newbie
Groups: Member

Joined: 4/27/2018
Posts: 5
Sent a sample project yesterday. We noticed that this problem is only present for fields that are rotated 180 and 270 degrees but fields that are rotated 90 degrees are rendered correctly. This is demonstrated in the sample project that we sent in.
eo_support
Posted: Wednesday, January 9, 2019 11:47:34 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 21,094
Hi,

We have looked into the test file and this seems to a PDF Reader issue. Readonly is merely a flag in the PDF file and when you set PdfField.ReadOnly to true, that flag is set. However apparently not all PDF Viewer application can display the value correctly when this flag is set. During our test, neither Adobe Reader nor Chrome's built-in PDF Viewer can display it correctly. However Microsoft Edge's built-in PDF Viewer is able to display the value (even partially due to the fact that it doesn't seem to zoom the text correctly). Interesting enough, Internet Explorer can't display it due to the fact it uses Adobe's plugin. Since we have no control over various PDF Viewer's behavior, there isn't much we can do about this. :(

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.