www.mxdraw.com
|
标注样式记录类型
[ object, uuid(65E0F2F5-1609-4A44-8F6E-329FD1D91D37), dual, nonextensible, helpstring("IMxDrawDimStyleTableRecord interface"), pointer_default(unique) ] interface IMxDrawDimStyleTableRecord : IMxDrawSymbolTableRecord;
MxDrawDimStyleTableRecord.idl
例如: C#代码,设置当前标注样式的缩放比例
// 得到数据库对象 MxDrawDatabase database = (MxDrawDatabase)(axMxDrawX1.GetDatabase()); // 得到当前的标注样式对象. MxDrawDimStyleTableRecord curDimRecord = database.GetDimStyleTable().GetAt(database.CurrentlyDimstyleName, false); if (curDimRecord != null) { // 设置标注对象的全局缩放比例 // 40,在m_dimscale值的DXF代码 // 20.0 是新的全局缩放比例 curDimRecord.SetDimVarDouble(40, 20.0); }