/// <summary> /// �����ļ����õ�դ��ͼ�� /// </summary> /// <param name="layerPath">ͼ���ļ�·��</param> /// <returns></returns> public ImageLayer GetSingleImageLayer(string layerPath) { if (!System.IO.File.Exists(layerPath)) return null; ImageLayer oLayer = new ImageLayerClass(); oLayer.File = layerPath; return oLayer; }
/// <summary> /// 根据文件名得到栅格图层 /// </summary> /// <param name="layerPath">图层文件路径</param> /// <returns></returns> public ImageLayer GetSingleImageLayer(string layerPath) { if (!System.IO.File.Exists(layerPath)) { return(null); } ImageLayer oLayer = new ImageLayerClass(); oLayer.File = layerPath; return(oLayer); }