Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - SetFormFieldRotation
  FAQ FAQ  Forum Search   Register Register  Login Login

SetFormFieldRotation

 Post Reply Post Reply
Author
Message
geonetwork View Drop Down
Team Player
Team Player
Avatar

Joined: 12 Mar 07
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote geonetwork Quote  Post ReplyReply Direct Link To This Post Topic: SetFormFieldRotation
    Posted: 15 May 18 at 2:48PM
SetFormFieldRotation since version 13 has a strange behavior. Compiling the code below with version 13, 14 or 15, the rotated field is displayed incorrectly (in version 12 this problem was not present).

The problem exists with Acrobat Reader DC and with other versions of Adobe, but not with FoxIt Reader

QP.SetMeasurementUnits(1);
for i:=0 to 13 do aFont:=QP.AddStandardFont(i);
nDoc:=QP.SelectedDocument;
QP.SelectDocument(nDoc);
QP.SetOrigin(0);
// 90° VERTICAL FIELD
nFieldIndex:=QP.NewFormField('FIELD1',1);
QP.SetFormFieldFont(nFieldIndex,aFont[3]);
QP.SetFormFieldTextSize(nFieldIndex,10);
QP.SetFormFieldValue(nFieldIndex,'TEXT');
QP.SetFormFieldBounds(nFieldIndex,10,270,5,100);
QP.SetFormFieldRotation(nFieldIndex,90);
QP.SaveToFile('test.pdf');



Edited by geonetwork - 13 Jun 18 at 3:29PM
Back to Top
geonetwork View Drop Down
Team Player
Team Player
Avatar

Joined: 12 Mar 07
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote geonetwork Quote  Post ReplyReply Direct Link To This Post Posted: 13 Jun 18 at 3:27PM
WorkAround in version 13 or above: 
QP.SetNeedAppearances(1)
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store