![]() |
【转帖】怎样创建文字样式?
怎样创建文字样式?
怎样创建文字样式? 下面的代码有什么问题,为什么在acad2内不行(win0)? void tufudlg::creattxtstyle() {//创建文字样式 acdbtextstyletable *ptxtstyletable; acdbhostapplicationservices()->workingdatabase() ->getsymboltable(ptxtstyletable,acdb::kforwrite); acdbtextstyletablerecord * ptxtstyletablerecord = new acdbtextstyletablerecord; ptxtstyletablerecord->setname("fstxt"); ptxtstyletablerecord->setfilename("simsun.ttf"); ptxtstyletablerecord->settextsize(0); ptxtstyletablerecord->setxscale(1); ptxtstyletablerecord->setobliquingangle(0); ptxtstyletable->add(ptxtstyletablerecord); ptxtstyletablerecord->close(); ptxtstyletable->close(); } 帮你顶一下。楼主搞定?搞定了,贴出您的代码,谢谢。 qq:19154480 msn:freejustinji@hotmail.com e-mail:justin3@citiz.net |
所有的时间均为北京时间。 现在的时间是 09:39 PM. |