首页 > TAG信息列表 > pActiveView

缩放到图层,缩放到要素

public static void ZoomToLayer(IActiveView pActiveView, ILayer pLayer,double pading) { pActiveView.Extent = ((IGeoDataset)pLayer).Extent; pActiveView.Extent.Width += pading; pActiveView.Extent.Height += pading;

按字段值选择要素(高亮显示选择结果)

/// <summary> /// 按字段值选择要素(高亮显示选择结果) /// </summary> /// <param name="pFeatureLayer">要素图层</param> /// <param name="fieldName">字段名称</param> /// <param name="f