Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Printing / Get Text length?
Printing / Get Text length? [message #20222] Sat, 28 February 2009 13:11 Go to previous message
kbyte is currently offline  kbyte
Messages: 87
Registered: July 2008
Member
Hi,
I am printing something and I need to know how much printer units a specific string measures.

Having a:

PrinterJob pd("Sample");
Draw& w=pd.GetDraw();

how does we get the length in printer units of a string to be printed?

Many thanks

Alex
 
Read Message
Read Message
Previous Topic: Win32 / Linux layouts
Next Topic: Like PromptOK, but whit "Ok" and "Cancel"
Goto Forum:
  


Current Time: Mon Apr 29 17:02:35 CEST 2024

Total time taken to generate the page: 0.04515 seconds