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!
Unable to get RadioButton group left,width,height |
Post Reply |
Author | |
Orfelinda
Beginner Joined: 21 Mar 16 Status: Offline Points: 5 |
Post Options
Thanks(0)
Posted: 09 Jun 16 at 11:37AM |
I am working on reading form field radio group button left, height, width from an existing PDF in Delphi Application.
Each radio button that belongs to the group is a child or sub-radio button.
I am able to get the Name of the sub-radio button from a PDF by using the given code below: if QP.GetFormFieldKidCount(i) <> 0 then for j := 2 to QP.GetFormFieldSubCount(i) do begin s := QP.GetFormFieldSubTempIndex(i, j); WriteLn(QP.GetFormFieldSubName(i, j)); end; When I try to get the left, width and height for the radio button I get "0" whereas Top values seems to be fine. QP.GetFormFieldBound(i, 0) // Use to get the left boundary of a form field. Question: Why I am getting 0 for left, width and Height for the radio button group? any specific method call i need to make ? Just a side note : When I try to get the left , width, top and height for a single radio button, I get the correct values. Please Help... |
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi Linda,
i've no experiences with your issue but i've tried the advanced search (here top, right). I've sorted the links top down as they could be useful for you: http://www.quickpdf.org/forum/forum_posts.asp?TID=1884&KW=radio+button+group&PID=8080&title=radiobutton-how#8080 http://www.quickpdf.org/forum/forum_posts.asp?TID=3128&KW=radio+button+group&PID=12530&title=how-to-get-radiobutton-bounds#12530 http://www.quickpdf.org/forum/forum_posts.asp?TID=2337&KW=radio+button+group&PID=9890&title=create-fill-checkboxes-and-radiobuttons-in-code#9890 http://www.quickpdf.org/forum/forum_posts.asp?TID=2767&KW=radio+button+group&PID=11295&title=radio-button-behavior#11295 Cheers and welcome here, Ingo |
|
Cheers,
Ingo |
|
Orfelinda
Beginner Joined: 21 Mar 16 Status: Offline Points: 5 |
Post Options
Thanks(0)
|
Hi Ingo,
Thanks for your reply, however: link 1: Does not provide any information on width, height and left values for a radio group button. link2: Does not give a solution to my question. link3: It speaks about saving/ creating a radio button rather then reading radio group button boundaries. link4: Does not give a solution to my question. Anyways thanks for taking out your time. I would really appreciate if you could provide me any solution to the above posted issue, I am thinking that this is a bug in library as I am able to read the boundaries of a single radio button but not in the case of radio group button. Awaiting for your kind reply. |
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi Linda,
i think you doesn't know where you are here ;-) Should i take my rare time to develope something for you? This is the user-user-forum of the library here. If a user had the same prob and a solution and if he's reading here then... perhaps he'll post a solution. If you think that you've found an error then you should post it on the official pages from Debenu. Edited by Ingo - 12 Jun 16 at 5:16PM |
|
Cheers,
Ingo |
|
CraigK
Beginner Joined: 26 Aug 16 Status: Offline Points: 5 |
Post Options
Thanks(0)
|
Hi Orfelinda,
I am running into the same issue you were/are having. I am trying to access the bounds of individual radio buttons but so far have been unsuccessful. I saw your post and figured I'd see if you happened to have found a solution yet. If anyone else is reading this and has found a solution please let me know. I've looked through Debenu's sample code and all of their online references but haven't had any luck. Thanks
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi Orfelinda,
now i've the same issue by myself ;-) This thread will show you how to get these values: http://www.quickpdf.org/forum/saving-choice-of-radiobuttons_topic1257.html |
|
Cheers,
Ingo |
|
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