几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】how get mtext linespace? (http://www.dimcax.com/hust/showthread.php?t=16588)

yang686526 2009-05-05 12:31 PM

【转帖】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.


所有的时间均为北京时间。 现在的时间是 08:36 PM.