快捷登录,享 免费下载
首页 > 教程资讯 > 教程详情

pfFolderSize的教程

补充锦囊 完美下载小客服 2021-03-30
文章分享
软件首页

完美者(wmzhe.com)网站以软件下载为基础,改版后的网站对功能性板块进行扩充,以期能够解决用户在软件使用过程中遇见的所有问题。网站新增了“软件百科”、“锦囊妙技”等频道,可以更好地对用户的软件使用全周期进行更加专业地服务。

查看容量的软件帮助您查看系统以及它们包含的文件的总数上的每个文件夹和子文件夹的准确大小的软件解决方案。该程序是相当简单的方法 ,所以你不需要有任何先进的知识,在使用计算机来处理它轻松地工作。

"锦囊妙技"栏目是聚合全网软件使用的技巧或者软件使用过程中各种问题的解答类文章,栏目设立伊始,小编欢迎各路软件大神朋友们踊跃投稿,在完美者平台分享大家的独门技巧。

本站文章素材来源于网络,大部分文章作者名称佚失,为了更利于用户阅读和使用,根据需要进行了重新排版和部分改编,本站收录文章只是以帮助用户解决实际问题为目的,如有版权问题请联系小编修改或删除,谢谢合作。

查看容量工具 pfFolderSize

查看容量工具 pfFolderSize

软件大小:27.80 MB

高速下载

相关问答

更多
  • iphone手机QQ.exe使用时为什么上面说异常错误

    flex项目下修改html-template文件夹下的index.template.html模版文件。代码如下:1234567891011121314<script type="text/javascript">// 隐藏富文本编辑器function hideIFrame(){  $(

  • 如何获取相册路径

    这里有一个方法可以获取手机所有包含图片的文件夹路径,不知道是不是你想要的效果,代码如下[mw_shl_code=java,true] private void getPhotoThumbnail() { //查询的列 String[] projection = new String[] { MediaStore.Images.Media._ID, MediaStore.Images.Media.BUCKET_ID, // 直接包含该图片文件的文件夹ID,防止在不同下的文件夹重名 MediaStore.Images.Media.BUCKET_DISPLAY_NAME, // 直接包含该图片文件的文件夹名 MediaStore.Images.Media.DISPLAY_NAME, // 图片文件名 MediaStore.Images.Media.DATA, // 图片绝对路径 "count("+MediaStore.Images.Media._ID+")"//统计当前文件夹下共有多少张图片 }; //这种写法是为了进行分组查询,详情可参考http://yelinsen.iteye.com/blog/836935 String selection = " 0==0) group by bucket_display_name --("; ContentResolver cr = this.getContentResolver(); Cursor cursor = cr.query(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, projection, selection,null, ""); PhotoFolder pf = null; while(cursor.moveToNext()){ String folderId = cursor.getString(cursor.getColumnIndex(MediaStore.Images.Media.BUCKET_ID)); String folder = cursor.getString(cursor.getColumnIndex(MediaStore.Images.Media.BUCKET_DISPLAY_NAME)); long fileId = cursor.getLong(cursor.getColumnIndex(MediaStore.Images.Media._ID)); String finaName = cursor.getString(cursor.getColumnIndex(MediaStore.Images.Media.DISPLAY_NAME)); String path = cursor.getString(cursor.getColumnIndex(MediaStore.Images.Media.DATA)); int count = cursor.getInt(5);//该文件夹下一共有多少张图片 BitmapFactory.Options options = new BitmapFactory.Options(); //Thumbnails.getThumbnail(cr, fileId, Thumbnails.MICRO_KIND, options)获取指定图片缩略片 pf = new PhotoFolder(folderId,folder,count,Thumbnails.getThumbnail(cr, fileId, Thumbnails.MICRO_KIND, options)); list.add(pf); } if(null!=cursor&&!cursor.isClosed()){ cursor.close(); } }[/mw_shl_code]转载

  • 请问vb.net添加了ARCGIS的mapcontrol控件后如何添加shp文件然后显示出来?

    你好 ,试下下面代码,希望对你有用//这是直接根据路径名称加载private voidmenuAddShp_Click(object sender, EventArgs e){ IWorkspaceFactory pWorkspaceFactory = new ShapefileWorkspaceFactory(); IWorkspace pWorkspace = pWorkspaceFactory.OpenFromFile(@"D:\GIS-Data",0); IFeatureWorkspace pFeatureWorkspace =pWorkspace as IFeatureWorkspace; IFeatureClass pFC =pFeatureWorkspace.OpenFeatureClass("continent.shp"); IFeatureLayer pFLayer = new FeatureLayerClass(); pFLayer.FeatureClass = pFC; pFLayer.Name = pFC.AliasName; ILayerpLayer = pFLayer as ILayer; IMappMap = axMapControl1.Map; pMap.AddLayer(pLayer); axMapControl1.ActiveView.Refresh();}//这段是利用对话框添加 从工具箱往窗体上添加一个OpenFileDialog控件。private voidmenuAddShp_Click(object sender, EventArgs e){ IWorkspaceFactorypWorkspaceFactory = new ShapefileWorkspaceFactory(); openFileDialog1.Filter = "shapefile文件(*.shp)|*.shp"; openFileDialog1.InitialDirectory = @"D:\GIS-Data"; openFileDialog1.Multiselect = false; DialogResultpDialogResult = openFileDialog1.ShowDialog(); if(pDialogResult != DialogResult.OK) return; stringpPath = openFileDialog1.FileName; stringpFolder = Path.GetDirectoryName(pPath); stringpFileName = Path.GetFileName(pPath); IWorkspacepWorkspace = pWorkspaceFactory.OpenFromFile(pFolder,0); IFeatureWorkspacepFeatureWorkspace = pWorkspace as IFeatureWorkspace; IFeatureClasspFC = pFeatureWorkspace.OpenFeatureClass(pFileName); IFeatureLayerpFLayer = new FeatureLayerClass(); pFLayer.FeatureClass = pFC; pFLayer.Name = pFC.AliasName; ILayerpLayer = pFLayer as ILayer; IMap pMap =axMapControl1.Map; pMap.AddLayer(pLayer); axMapControl1.ActiveView.Refresh();}

  • arcengine 怎么加载DEM数据呀 求C#代码

    http://www.pudn.com/downloads295/sourcecode/graph/detail1322386.html资源站上给你找了一段代码,这个肯定够你用的。 private void button1_Click(object sender, EventArgs e) { //dem数据一般读的是包含所有adf文件的文件夹的名称 OpenFileDialog openFile = new OpenFileDialog(); openFile.ShowDialog(); string path = openFile.FileName; //判断后缀是否为adf,如果是则读取它路径的上一级作为文件名 string lastname = path.Substring(path.Length - 3, 3); string frontname = null;//该字符串记录的事排除后缀为adf文件名的路径 if (lastname == "adf") { char[] split = new char[] { '\\' }; string[] array = path.Split(split); string last = array[array.Length - 1];//XXX.adf int n = last.Length + 1; frontname = path.Substring(0, path.Length - n); } if (frontname != null) { ILayer pLayer = openDEMLayer(frontname); this.axSceneControl1.Scene.AddLayer(pLayer, true); } } public static ILayer openDEMLayer(string fullPath) { string pathToWorkspace = System.IO.Path.GetDirectoryName(fullPath); string demName = System.IO.Path.GetFileName(fullPath); IWorkspaceFactory pWSFact = new RasterWorkspaceFactoryClass(); IWorkspace pWS = pWSFact.OpenFromFile(pathToWorkspace, 0); IRasterWorkspace pRasterWorkspace = pWS as IRasterWorkspace; IRasterLayer pRasterLayer= new RasterLayerClass(); try { IRasterDataset pRasterDataset = (IRasterDataset)pRasterWorkspace.OpenRasterDataset(demName); pRasterLayer.CreateFromDataset(pRasterDataset);} catch (Exception err) { MessageBox.Show(err.Message); } return pRasterLayer; } private void button2_Click(object sender, EventArgs e) { IRasterLayer pRasterLayer = new RasterLayerClass(); pRasterLayer = (IRasterLayer)axSceneControl1.Scene.get_Layer(1);//Raster图层 IRaster pRaster = pRasterLayer.Raster; ISurfaceOp pSurfaceOp = new RasterSurfaceOpClass(); ILayer pLayer = axSceneControl1.Scene.get_Layer(0); //点图层 IFeatureLayer pFeatureLayer = (IFeatureLayer)pLayer; IGeoDataset pObservers = (IGeoDataset)pFeatureLayer.FeatureClass; IGeoDataset pGeoDataset = pSurfaceOp.Visibility((IGeoDataset)pRaster, pObservers, esriGeoAnalysisVisibilityEnum.esriGeoAnalysisVisibilityFrequency); IRasterLayer pNewRasterLayer = new RasterLayerClass(); IRaster pNewRaster = new ESRI.ArcGIS.DataSourcesRaster.Raster(); pNewRaster = (IRaster)pGeoDataset; pNewRasterLayer.CreateFromRaster(pNewRaster); pNewRasterLayer.Name = "透视图"; axSceneControl1.Scene.AddLayer(pNewRasterLayer, false); } private void button3_Click(object sender, EventArgs e) { OpenFileDialog openFileDialog1 = new OpenFileDialog(); openFileDialog1.Filter = "shapefile文件(*.shp)|*.shp"; //获取或设置文件对话框显示的初始目录 //openFileDialog1.InitialDirectory = @"D:\Program Files\ArcGIS\Metadata\Data"; //获取或设置一个值,该值指示对话框是否允许选择多个文件 openFileDialog1.Multiselect = false; // 运行具有指定所有者的通用对话框 DialogResult pDialogResult = openFileDialog1.ShowDialog(); //指定标识符以指示对话框的返回值 if (pDialogResult != DialogResult.OK) return; //获取或设置一个包含在文件对话框中选定的文件名的字符串 string pPath = openFileDialog1.FileName; //返回指定路径字符串的目录信息 string pFolder = System.IO.Path.GetDirectoryName(pPath); //返回指定路径字符串的文件名和扩展名 string pFileName = System.IO.Path.GetFileName(pPath); IWorkspaceFactory pWorkspaceFactory = new ShapefileWorkspaceFactory(); IWorkspace pWorkspace = pWorkspaceFactory.OpenFromFile(pFolder, 0); IFeatureWorkspace pFeatureWorkspace = pWorkspace as IFeatureWorkspace; IFeatureClass pFC = pFeatureWorkspace.OpenFeatureClass(pFileName); IFeatureLayer pFLayer = new FeatureLayerClass(); pFLayer.FeatureClass = pFC; pFLayer.Name = pFC.AliasName; ILayer pLayer = pFLayer as ILayer; axSceneControl1.Scene.AddLayer(pLayer, true); }