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!
"Catastrophic Failure" GetTextHeight |
Post Reply |
Author | |
shelby
Beginner Joined: 13 Jan 06 Location: United States Status: Offline Points: 13 |
Post Options
Thanks(0)
Posted: 13 Jan 06 at 5:22PM |
Using following colde
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
|
|
shelby
Beginner Joined: 13 Jan 06 Location: United States Status: Offline Points: 13 |
Post Options
Thanks(0)
|
MY BAD!!!! Had to move CompressContent to below text activity.
|
|
To Err is to try. To fail is to err and not try again
|
|
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