qhg103
路人甲
路人甲
  • 注册日期2004-07-12
  • 发帖数48
  • QQ
  • 铜币311枚
  • 威望0点
  • 贡献值0点
  • 银元0个
  • GIS帝国居民
阅读:1322回复:1

请教 VB+A0打印问题 !!!

楼主#
更多 发布于:2005-10-13 20:08
<P>请教高手,怎么调入打印模板,修改他,</P>
<P>该用哪个接口</P>
喜欢0 评分0
gis
gis
管理员
管理员
  • 注册日期2003-07-16
  • 发帖数15946
  • QQ554730525
  • 铜币25338枚
  • 威望15363点
  • 贡献值0点
  • 银元0个
  • GIS帝国居民
  • 帝国沙发管家
  • GIS帝国明星
  • GIS帝国铁杆
1楼#
发布于:2005-10-16 13:11
<P>PageLayoutControl LoadMxFile Example<BR>'Load an ArcMap document<BR>PageLayoutControl1.LoadMxFile "C:\temp\myDocument.mxd"</P>
<P>'Load an ArcMap template<BR>PageLayoutControl1.LoadMxFile App.Path ; "\myDocument.mxt"</P>
<P>'Check and load an ArcMap document<BR>Dim sFilePath as String<BR>sFilePath = App.Path ; "\..\..\myDocument.mxd"<BR>If PageLayoutControl1.CheckMxFile(sFilePath) Then<BR>   PageLayoutControl1.LoadMxFile sFilePath<BR>End If</P>
<P>'Load a password protected ArcReader document<BR>PageLayoutControl1.LoadMxFile "C:\temp\myDocument.pmf", "myPassword"</P>
<P><BR> </P>
举报 回复(0) 喜欢(0)     评分
游客

返回顶部