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!
SetFormFieldRotation |
Post Reply |
Author | |
geonetwork
Team Player Joined: 12 Mar 07 Status: Offline Points: 27 |
Post Options
Thanks(0)
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 |
|
geonetwork
Team Player Joined: 12 Mar 07 Status: Offline Points: 27 |
Post Options
Thanks(0)
|
WorkAround in version 13 or above: QP.SetNeedAppearances(1)
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions 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 |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store