U++ framework
Do not panic. Ask here before giving up.

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: Fri Dec 04 20:37:00 GMT+1 2026

Total time taken to generate the page: 0.02163 seconds