查看单个帖子
旧 2009-05-05, 12:31 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】how get mtext linespace?

how get mtext linespace?
how get mtext linespace?
how get space of between two line in mtext? if not a function,how get line space by mtext line spacing style and distance?
how get mtext line spacing style and distance?
thank you very much!
hello
you can get linespacingstyle() and linespacingfactor() for mtext. you may calculate distance using this values and text height for some simple case. but mtext is complex entity. spacingstyle and spacingfactor may be changed inside mtext between paragraphs. text height may be changed sometimes inside one line.
look at method "void explodefragments(...)". possible it will be useful for you.
best regards,
sergey z.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)