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 - How to know the Height of DrawWrappedText
  FAQ FAQ  Forum Search   Register Register  Login Login

How to know the Height of DrawWrappedText

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


Joined: 27 Dec 16
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote sebC Quote  Post ReplyReply Direct Link To This Post Topic: How to know the Height of DrawWrappedText
    Posted: 22 Jul 20 at 12:51PM
Hello,

I am drawing text with DrawWrappedText. 
How can I know the height text will take on the page ? 
If i can know height it would be ideal, but i could deal with line count. 

Because i need to draw other stuff under the text. And i cant do that if I dont know the height. 

curPdfLib->SetBreakString(delim.c_str());
curPdfLib->DrawWrappedText(leftBandeau, curYPos, WBandeau, texte.c_str());


Edited by sebC - 22 Jul 20 at 12:56PM
Back to Top
sebC View Drop Down
Beginner
Beginner


Joined: 27 Dec 16
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote sebC Quote  Post ReplyReply Direct Link To This Post Posted: 22 Jul 20 at 1:03PM
Ok my bad, I just found what I was looking for by scrolling on "Text" functions.

GetWrappedTextHeight
GetWrappedTextLineCount
GetTextHeight
GetTextWidth
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