GDI +可以设置输出文本的行距和字距吗? [英] Can GDI+ set the line space and word space of the output text?

查看:538
本文介绍了GDI +可以设置输出文本的行距和字距吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

似乎GDI +可以获取输出文本的行距,但不能设置它!对吗?

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

推荐答案

happydebug写道:
happydebug wrote:

似乎GDI +可以获取输出文本的行距,但不能设置它!对吗?

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



这些值取决于字体大小,因此在您选择要使用的DC(设备上下文)中的字体时会进行设置.但是,您可以自由地在DC中的任何位置编写文本,以便可以将行距调整为您选择的任何值.



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.


这篇关于GDI +可以设置输出文本的行距和字距吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆