Click here to Skip to main content
15,867,330 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
It seems that GDI+ can get the line space of the output text but can not set it!Is it right?
Posted

1 solution

happydebug wrote:
It seems that GDI+ can get the line space of the output text but can not set it!Is it right?


These values depend on the font size so are set when you select a font into the DC (Device Context) that you are working on. However you are free to write your text anywhere within that DC so you can adjust line spacing to any value that you choose.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900