www.mxdraw.com
|
控件的层表记录对象类型,它代表一个图层的状态
[ object, uuid(3D6B9D57-104C-4374-BD64-F1747207F692), dual, nonextensible, helpstring("IMxDrawLayerTableRecord interface"), pointer_default(unique) ] interface IMxDrawLayerTableRecord : IMxDrawSymbolTableRecord;
MxDrawLayerTableRecord.idl
例如: 关闭指定图层 C#
MxDrawDatabase database = (MxDrawDatabase)axMxDrawX1.GetDatabase(); MxDrawLayerTable layerTable = database.GetLayerTable(); MxDrawLayerTableRecord layer = layerTable.GetAt("MyLayerName"); if (layer != null) layer.IsOff = true;