请问怎么用代码将图示标红处左右都设置到最下方的值
这样试试:dimStyle.SetIntegerProp((int)DimStyleProp_MLNote_VerAttachment.BottomLine, DimStyleProp.MLNote_VerLeftAttachment_INTEGER)
dimStyle.SetIntegerProp((int)DimStyleProp_MLNote_VerAttachment.BottomLine, DimStyleProp.MLNote_VerLeftAttachment_INTEGER); dimStyle.SetIntegerProp((int)DimStyleProp_MLNote_VerAttachment.BottomLine, DimStyleProp.MLNote_VerRightAttachment_INTEGER);
郭老师,加入这两句后没有变化呀
修改以后要调用一下Replace将修改内容保存到文件中。
MS学习资源:
MicroStation Wednesday视频分享
深入探讨MicroStation DGN基本概念系列
一步步学习MicroStation CE Addin开发
一步步学习MicroStation CE MDL开发