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 - DrawTextBox
  FAQ FAQ  Forum Search   Register Register  Login Login

DrawTextBox

 Post Reply Post Reply
Author
Message
skwirelboy View Drop Down
Team Player
Team Player


Joined: 27 Feb 06
Status: Offline
Points: 45
Post Options Post Options   Thanks (0) Thanks(0)   Quote skwirelboy Quote  Post ReplyReply Direct Link To This Post Topic: DrawTextBox
    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
Back to Top
DELBEKE View Drop Down
Debenu Quick PDF Library Expert
Debenu Quick PDF Library Expert
Avatar

Joined: 31 Oct 05
Location: France
Status: Offline
Points: 151
Post Options Post Options   Thanks (0) Thanks(0)   Quote DELBEKE Quote  Post ReplyReply Direct Link To This Post Posted: 17 Dec 08 at 1:14PM
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
Back to Top
skwirelboy View Drop Down
Team Player
Team Player


Joined: 27 Feb 06
Status: Offline
Points: 45
Post Options Post Options   Thanks (0) Thanks(0)   Quote skwirelboy Quote  Post ReplyReply Direct Link To This Post Posted: 18 Dec 08 at 5:30AM

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

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