<?xml version="1.0" encoding="UTF-8"?><?mso-infoPathSolution PIVersion="1.0.0.0" href="http://devinfo/sites/sdk/netengdt/NetEngDtSample/Forms/template.xsn" language="en-us" name="urn:schemas-microsoft-com:office:infopath:NETEngDtSample:" solutionVersion="9.4.0.673" productVersion="12.0.0" ?><?mso-application progid="InfoPath.Document"?><esri_sdk_sample xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2006-02-10T23:25:53" xmlns:xd="http://schemas.microsoft.com/office/infopath/2003">
<title>Load a map document into the PageLayoutControl</title>
<purpose><div xmlns="http://www.w3.org/1999/xhtml" xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2006-02-10T23:25:53">This sample demonstrates how to load a map document into the PageLayoutControl using the Browse dialog box. </div>
<div xmlns="http://www.w3.org/1999/xhtml" xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2006-02-10T23:25:53"> </div>
<div xmlns="http://www.w3.org/1999/xhtml" xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2006-02-10T23:25:53"> </div></purpose>
<development_license>
<license>
<name>Engine Developer Kit</name>
<extension>
</extension>
</license>
</development_license>
<deployment_license>
<license>
<name>Engine</name>
<extension>
</extension>
</license>
<license>
<name>ArcGIS Desktop Basic</name>
<extension>
</extension>
</license>
<license>
<name>ArcGIS Desktop Standard</name>
<extension>
</extension>
</license>
<license>
<name>ArcGIS Desktop Advanced</name>
<extension>
</extension>
</license>
</deployment_license>
<min_version>10.0</min_version>
<min_sp/>
<max_version>
</max_version>
<max_sp/>
<data_paths>
<data_path/>
</data_paths>
<requirements>
<requires>
</requires>
</requirements>
<file_section>
<files lang="CSharp">
<file>
<filename>AssemblyInfo.cs</filename>
<description>Assembly information. </description>
<viewable_code>false</viewable_code>
</file>
<file>
<filename>LoadMap.cs</filename>
<description>Form file. </description>
<viewable_code>true</viewable_code>
</file>
<file>
<filename>Password.cs</filename>
<description>Form file. </description>
<viewable_code>true</viewable_code>
</file>
</files>
<files lang="VBNet">
<file>
<filename>AssemblyInfo.vb</filename>
<description>Assembly information. </description>
<viewable_code>false</viewable_code>
</file>
<file>
<filename>LoadMap.vb</filename>
<description>Form file. </description>
<viewable_code>true</viewable_code>
</file>
<file>
<filename>Password.vb</filename>
<description>Form file. </description>
<viewable_code>true</viewable_code>
</file>
</files>
</file_section>
<how_to_use_section>
<how_to_use>
<how_to_use_steps>
<step>Browse to a map document to load into the PageLayoutControl. The map document can be an ArcMap document (.mxd), an ArcMap template (.mxt), or a Published Map File (.pmf).</step>
</how_to_use_steps>
</how_to_use>
</how_to_use_section>
<additional_information>The Browse dialog box allows you to search and select map documents<font face="Verdana" xmlns="http://www.w3.org/1999/xhtml" xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2006-02-10T23:25:53">—</font>.mxd, .mxt, and .pmf files<font face="Verdana" xmlns="http://www.w3.org/1999/xhtml" xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2006-02-10T23:25:53">—</font>that are loaded into the PageLayoutControl using the LoadMxFile method. Since .pmf files can be password protected, use IMapDocument.IsPasswordProtected to check for a password. If the document is password protected, you will be prompted for the password.</additional_information><related_topics>
<topic>
<topic_display>PageLayoutControl class</topic_display>
<topic_link>esriControls/PageLayoutControl.htm</topic_link>
</topic>
<topic>
<topic_display>IPageLayoutControl interface</topic_display>
<topic_link>esriControls/IPageLayoutControl.htm</topic_link>
</topic>
</related_topics>
<content_area_tags>
<tag>Controls</tag>
<tag>Cartography, Mapping, & 2D Display</tag>
</content_area_tags>
<guid>C0E2736E-74B7-4fcf-BAF3-8AE947A4893E</guid>
<content_management>
<owner>Mary Harvey</owner>
<tech_reviewer>Gayle Young</tech_reviewer>
<status>SDK inclusion completed</status>
<requested_tocs>
<desktop>false</desktop>
<engine>true</engine>
<server>false</server>
<net_ide_integration>false</net_ide_integration>
<xo>false</xo>
</requested_tocs>
<applied_tocs>
<desktop>false</desktop>
<engine>true</engine>
<server>false</server>
<net_ide_integration>false</net_ide_integration>
<xo>false</xo>
</applied_tocs>
<last_updated_date>2010-03-23</last_updated_date>
<last_updated_time>17:13:31</last_updated_time>
<copyediting>
<last_copyedit_date>2010-03-23</last_copyedit_date>
<last_copyedit_time>17:17:03</last_copyedit_time>
<copyeditor>linn</copyeditor>
</copyediting><edits>
<editing_section>
<editor_name>kyli4140</editor_name>
<edit_date>2008-11-17</edit_date>
<edit_time>15:38:41</edit_time>
<edit_notes>Form brought into StarTeam. For previous notes and history see the SharePoint site at <a href="" xmlns="http://www.w3.org/1999/xhtml">http://devinfo/sites/ArcGISNetSDK/default.aspx</a>Â as well as the files in the ArcObjects VSS in Samples NET.</edit_notes>
</editing_section>
<editing_section>
<editor_name>linn</editor_name>
<edit_date>2010-03-23</edit_date>
<edit_time>17:16:42</edit_time>
<edit_notes><ul xmlns="http://www.w3.org/1999/xhtml" style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px" type="disc">
<li>Edited.</li>
<li>Already in the SDK.</li></ul></edit_notes>
</editing_section></edits>
</content_management>
<current_user>linn</current_user>
<sdk>NETEngDt</sdk>
<doc_type>Sample</doc_type>
</esri_sdk_sample>