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!
DrawTextBox |
Post Reply |
Author | |
skwirelboy
Team Player Joined: 27 Feb 06 Status: Offline Points: 45 |
Post Options
Thanks(0)
Posted: 16 Dec 08 at 7:03AM |
Hi,
I cannot get any of the functions involving textboxes to work (including the fittextBox and rotatetextbox. The following is a very basic sample of code:
QP := TiSEDQuickPDF.Create;
try QP.UnlockKey('MyUnlockKey'); QP.SelectPage(1); QP.SetOrigin(1); QP.AddStandardFont(4); qp.DrawTextBox(100, 100, 100, 100, 'Hello', 0); This produces nothing.
If I change the last line to
qp.DrawText(100, 100, 'Hello');
I get my text.
I have searched the forum. I cannot see anyone reporting this problem. Everyone else seems to be able to use these functions ok.
Any ideas?
Many thanks
Mark
Edited by Ingo - 17 Dec 08 at 4:35PM |
|
DELBEKE
Debenu Quick PDF Library Expert Joined: 31 Oct 05 Location: France Status: Offline Points: 151 |
Post Options
Thanks(0)
|
I have run your sample and got the right result.
Perhaps something else in your code is wrong ?
Try to control the return values form your functions Edited by DELBEKE - 17 Dec 08 at 1:16PM |
|
skwirelboy
Team Player Joined: 27 Feb 06 Status: Offline Points: 45 |
Post Options
Thanks(0)
|
Basically, that is the code! I have got around it (in a way which is actually more convenient for what I need to do). I first draw the box (DrawBox etc) and then call the function to draw the textbox. The latter function only outputs the text in any event. All very puzzling, but it seems to work just fine!
Thanks for the reply |
|
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