Print Page | Close Window

Calculate characters count in a singel line

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=3056
Printed Date: 04 Mar 26 at 4:54PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Calculate characters count in a singel line
Posted By: pkalia
Subject: Calculate characters count in a singel line
Date Posted: 21 Jan 15 at 8:04AM
I am using a control with multiline height but with limited width, Is there any way to calculate maximum number of characters can be accomodate in a single line of that control.
Note: Not required entire control width just required single line width.



Replies:
Posted By: mLipok
Date Posted: 23 Jan 15 at 4:09AM
Did you check:

GetWrappedTextHeight
GetWrappedTextLineCount

?



-------------
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk