A Sandcastle Documented Class Library
MapControlInteractiongetLayerByName Method (String, IMap, IEditor) |
根据图层名称获取图层对象
Namespace: AO_J
Assembly: AO_J (in AO_J.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public ILayer getLayerByName( string name, IMap map, IEditor editor = null )
Parameters
- name
- Type: SystemString
图层名称 - map
- Type: IMap
IMap地图对象 - editor (Optional)
- Type: IEditor
IEditor编辑器对象
Return Value
Type: ILayerILayer图层对象
See Also