![]() |
【转帖】ext Heigh
text height
text height i'm trying to change the text height of all dimension text entities but i'm have trouble figuring out how. oddbtext has the method settextheight but that doesn't help at all to actually get anything done. it was fairly simple in dwgdirectx... code: dim actextstyle as iacadtextstyle = dwgdoc.textstyles.add("mytextstyle") actextstyle.height = 0.85 dim acdimstyle as iacaddimstyle = dwgdoc.dimstyles.add("mydimstyle") dwgdoc.setvariable("dimtxsty", "mytextstyle") acdimstyle.copyfrom(dwgdoc) dwgdoc.activedimstyle = dwgdoc.dimstyles.item("mydimstyle") i'd like to be able to do the same in dwgdirect. hello eric tyrrell, you can find example code in odwriteex project. see dbfiler.cpp method dbfiller::adddimstyle(). best regards, sergey z. |
所有的时间均为北京时间。 现在的时间是 09:34 AM. |