zyr987503101
路人甲
路人甲
  • 注册日期2012-11-22
  • 发帖数9
  • QQ
  • 铜币131枚
  • 威望0点
  • 贡献值0点
  • 银元0个
阅读:3383回复:7

C# ArcMap 地图打印

楼主#
更多 发布于:2012-11-22 12:32
  现在要用Winform 做一个打印整个MXD的小工具,新手,对地图切割和分幅打印完全没有思路,希望做过这个打印功能的朋友能够不吝赐教,若有案例请发邮箱: <a href="mailto:987503101@qq.com">987503101@qq.com</a>,在下不胜感激!
喜欢0 评分0
如何你行你一定要,如果你要你一定行!
gis
gis
管理员
管理员
  • 注册日期2003-07-16
  • 发帖数15945
  • QQ554730525
  • 铜币25337枚
  • 威望15352点
  • 贡献值0点
  • 银元0个
  • GIS帝国居民
  • 帝国沙发管家
  • GIS帝国明星
  • GIS帝国铁杆
1楼#
发布于:2012-11-22 13:13
<p>要打印地图,这是一个非常好的学习的例子。</p><p> </p><p>DS Map Book</p><p><a href="http://edndoc.esri.com/arcobjects/9.2/cpp_vb6_vba_vcpp_doc/com_samples_docs/cartography/map_production/dsmapbook/9d2dafa6-fcae-4e3d-bd27-1f242b216452.htm">http://edndoc.esri.com/arcobjects/9.2/cpp_vb6_vba_vcpp_doc/com_samples_docs/cartography/map_production/dsmapbook/9d2dafa6-fcae-4e3d-bd27-1f242b216452.htm</a></p><p> </p><p>This Developer Sample code is designed to allow for the creation of Map Books.  A page is create in the book based on each feature in a grid/index layer specified by the user.  Index layers must contain polygon features with a string field containing the name of each tile/page.  The features in the index layer do not have to be of any particular size or shape, nor do they need to be continuous or non-overlapping.  Several commands are included for generating index layers based on a uniform grid or based on selected, continuous line features. </p><p>Using the index layer, pages are generated for the book.  These pages are persisted within the map document and can be printed or exported at any time.</p><p>For more specific information on using the sample, please see the Map Book Generation.doc file included with the code.</p><p>Options on the toolbar include:</p><li>Create Map Book - Generate a new Map Series based on your index layer.</li><li>Add Identifier Frame - Add Local or Global Indicator frames to show the position of the page/tile in reference to the other tiles.</li><li>Create/Update Map Grids - Generate or Update index layers based on a uniformed grid.</li><li>Create Stripmap Grids - Generate an index layer based on a continuous set of selected line features.</li>
举报 回复(0) 喜欢(0)     评分
gis
gis
管理员
管理员
  • 注册日期2003-07-16
  • 发帖数15945
  • QQ554730525
  • 铜币25337枚
  • 威望15352点
  • 贡献值0点
  • 银元0个
  • GIS帝国居民
  • 帝国沙发管家
  • GIS帝国明星
  • GIS帝国铁杆
2楼#
发布于:2012-11-22 13:14
 不过是个老版本的例子,9.2以后的版本就没有了
举报 回复(0) 喜欢(0)     评分
gis
gis
管理员
管理员
  • 注册日期2003-07-16
  • 发帖数15945
  • QQ554730525
  • 铜币25337枚
  • 威望15352点
  • 贡献值0点
  • 银元0个
  • GIS帝国居民
  • 帝国沙发管家
  • GIS帝国明星
  • GIS帝国铁杆
3楼#
发布于:2012-11-22 13:19
<p> ESRI官方论坛上,有高手重写了这个工具,并且开放了代码。</p><p>有兴趣可以上去看看,项目地址:<a href="http://arcmapbook.googlecode.com">http://arcmapbook.googlecode.com</a></p><p>相关的文档如下:</p><h2>arcmapbook - Revision 165: /trunk/docs</h2><ul><li><a href="http://arcmapbook.googlecode.com/svn/trunk/">..</a></li><li><a href="http://arcmapbook.googlecode.com/svn/trunk/docs/ArcGIS%20Software%20Simplifies%20Map%20Book%20Generation.URL">ArcGIS Software Simplifies Map Book Generation.URL</a></li><li><a href="http://arcmapbook.googlecode.com/svn/trunk/docs/Customized%20DS%20Map%20Book%20Manual.doc">Customized DS Map Book Manual.doc</a></li><li><a href="http://arcmapbook.googlecode.com/svn/trunk/docs/DSMapBook.htm">DSMapBook.htm</a></li><li><a href="http://arcmapbook.googlecode.com/svn/trunk/docs/Finding%20It%20Fast%20-%20Deploying%20better%20map%20books%20for%20emergency%20responders.URL">Finding It Fast - Deploying better map books for emergency responders.URL</a></li><li><a href="http://arcmapbook.googlecode.com/svn/trunk/docs/Finding%20It%20Fast%20-%20Sample%20dataset.URL">Finding It Fast - Sample dataset.URL</a></li><li><a href="http://arcmapbook.googlecode.com/svn/trunk/docs/Map%20Book%20Generation.doc">Map Book Generation.doc</a></li><li><a href="http://arcmapbook.googlecode.com/svn/trunk/docs/QuickguidetoMapSeriesMaker.pdf">QuickguidetoMapSeriesMaker.pdf</a></li><li><a href="http://arcmapbook.googlecode.com/svn/trunk/docs/mapbkmanual07.pdf">mapbkmanual07.pdf</a></li><li><a href="http://arcmapbook.googlecode.com/svn/trunk/docs/mapbkmanual09.pdf">mapbkmanual09.pdf</a></li></ul>
举报 回复(0) 喜欢(0)     评分
gis
gis
管理员
管理员
  • 注册日期2003-07-16
  • 发帖数15945
  • QQ554730525
  • 铜币25337枚
  • 威望15352点
  • 贡献值0点
  • 银元0个
  • GIS帝国居民
  • 帝国沙发管家
  • GIS帝国明星
  • GIS帝国铁杆
4楼#
发布于:2012-11-22 13:20
<p> 安装包、代码下载</p><p><a href="http://code.google.com/p/arcmapbook/downloads/list">http://code.google.com/p/arcmapbook/downloads/list</a></p><li class="psmeta nowrap"><a href="http://code.google.com/p/arcmapbook/source/checkout">http://code.google.com/p/arcmapbook/source/checkout</a></li>

[此贴子已经被作者于2012-11-22 13:21:11编辑过]
举报 回复(0) 喜欢(0)     评分
zyr987503101
路人甲
路人甲
  • 注册日期2012-11-22
  • 发帖数9
  • QQ
  • 铜币131枚
  • 威望0点
  • 贡献值0点
  • 银元0个
5楼#
发布于:2012-11-26 15:58
<p>想要一个C#  Winform 写的案例,怎都么得人呢,呜呜呜呜、、、</p>
如何你行你一定要,如果你要你一定行!
举报 回复(0) 喜欢(0)     评分
gis
gis
管理员
管理员
  • 注册日期2003-07-16
  • 发帖数15945
  • QQ554730525
  • 铜币25337枚
  • 威望15352点
  • 贡献值0点
  • 银元0个
  • GIS帝国居民
  • 帝国沙发管家
  • GIS帝国明星
  • GIS帝国铁杆
6楼#
发布于:2012-11-27 11:22
<p>接口都差不多了,要完整的例子可能比较困难;</p>
<p>可以看看上面的例子,研究下,对你写这样的程序应该很有帮助</p>
举报 回复(0) 喜欢(0)     评分
zyr987503101
路人甲
路人甲
  • 注册日期2012-11-22
  • 发帖数9
  • QQ
  • 铜币131枚
  • 威望0点
  • 贡献值0点
  • 银元0个
7楼#
发布于:2012-11-27 17:03
<div class="quote"><b>以下是引用<i>gis</i>在2012-11-27 11:22:00的发言:</b><br/>
<p>接口都差不多了,要完整的例子可能比较困难;</p>
<p>可以看看上面的例子,研究下,对你写这样的程序应该很有帮助</p></div>
<p> 大侠,您给的帮助全是英文的,好吧,我就先慢慢研究了,想要完整的打印地图的例子估计人家都做成软件卖了,多谢啦、。。</p>
如何你行你一定要,如果你要你一定行!
举报 回复(0) 喜欢(0)     评分
游客

返回顶部