AcDbDimStyleTableRecord* p = oo.GetEnt<AcDbDimStyleTableRecord>();
  if( NULL != p )
  {
   AcCmColor suiceng;  
   suiceng.setColorIndex(colorIndex);
   p->setDimtfillclr(suiceng);
   Acad::ErrorStatus es = p->setDimtfill(2);

扩展阅读:
a,如何知道用那些函数?
见下图。

修改标注样式文字填充颜色



b,setDimtfill 参数范围是多少?
0到2, 参数设置成3会返回错误eMustBe0to2 。

相关文章:

  • 2021-12-12
  • 2022-02-16
  • 2022-01-17
  • 2022-12-23
  • 2021-05-09
  • 2021-12-06
  • 2022-12-23
猜你喜欢
  • 2021-11-23
  • 2022-12-23
  • 2022-01-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-13
相关资源
相似解决方案