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

"Catastrophic Failure" GetTextHeight

 Post Reply Post Reply
Author
Message
shelby View Drop Down
Beginner
Beginner


Joined: 13 Jan 06
Location: United States
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote shelby Quote  Post ReplyReply Direct Link To This Post Topic: "Catastrophic Failure" GetTextHeight
    Posted: 13 Jan 06 at 5:22PM
Using following colde
 
 QP.LoadFromFile(server.mappath("2006-January12-1a.pdf"))
 Doc1 = QP.SelectedDocument
 QP.SelectDocument(Doc1)
 'QP.MergeDocument(Doc2)
 
 qp.setorigin(1)
 FontID = QP.ADDSTANDARDFONT(4)
 call qp.SelectFont(FontID)
 call qp.settextsize(18)
 QP.DrawText 13 , 15, "Hello World!"
 qp.combinelayers
 qp.compresscontent
 qp.settemppath(server.mappath("/temp"))
 response.write qp.gettemppath() & "<br>"
 'call qp.renderdocumenttofile(72,1,1,1,server.mappath("test.jpg"))
 rslt1 = qp.gettextheight()
I get catastrophic failure at last line of listing
 
To Err is to try. To fail is to err and not try again
Back to Top
shelby View Drop Down
Beginner
Beginner


Joined: 13 Jan 06
Location: United States
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote shelby Quote  Post ReplyReply Direct Link To This Post Posted: 13 Jan 06 at 5:24PM
MY BAD!!!!   Had to move CompressContent to below text activity.
To Err is to try. To fail is to err and not try again
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