05 2015 档案
c# 读取其他程序的ListView内容
摘要:ArcMap没找到一个导出图层字段结构的功能,自已花点时间用C#做了个小工具,专门用来导arcmap中图层属性面板中的字段信息。使用说明:1) 点击“查找窗口”按钮。2) 在ListView控件上方点击右键。3) 点击“读取ListView内容”按钮。下载地址:http://download.csd... 阅读全文
posted @ 2015-05-30 22:39 janehlp 阅读(705) 评论(0) 推荐(0)
datawindow.net数据窗口卡片设置滚动条位置
摘要:int pos = Convert.ToInt32(dw1.Describe(colname + ".y"));pos = pos - 40;dw1.Modify("DataWindow.VerticalScrollPosition='"+pos.ToString()+"'"); 阅读全文
posted @ 2015-05-29 10:42 janehlp 阅读(418) 评论(0) 推荐(0)
Aspose.Cells 读取Excel数据到DataTable
摘要:C#代码:Workbook workbook = new Workbook();workbook.Open(excelfile); Cells cells = workbook.Worksheets[0].Cells;DataTable dt = cells.ExportDataTable(1, 0... 阅读全文
posted @ 2015-05-27 14:52 janehlp 阅读(2990) 评论(0) 推荐(0)
aspose.word 查找文本并加下划线
摘要:private Run SplitRun(Run run, int position) { Run beforeRun = (Run)run.Clone(true); beforeRun.Text = run.Text.Substring(0, posi... 阅读全文
posted @ 2015-05-21 23:56 janehlp 阅读(2245) 评论(0) 推荐(0)