文件最后提交记录最后更新时间
6 年前
6 年前
9 年前
6 年前
6 年前
README

ArcReaderControl map tools

This sample demonstrates how to set the IARControl.CurrentTool property to the MapZoomIn, MapZoomOut, or MapPan tool to navigate around the map view or any of the data frames when the current view is a PageLayout.
 
The OnAfterScreenDraw event uses the IARMap.CanUndoExtent and CanRedoExtent properties to determine whether the IARMap.UndoExtent and RedoExtent methods can be used to undo or redo extent changes. The IARMap.SetExtent method is set to the result of the IARMap.GetFullExtent method to zoom to the full extent of the data in the map.
Language:              C#, VB
Subject:               Publisher
Organization:          Esri, http://www.esri.com
Date:                  10/17/2019
ArcObjects SDK:        10.8
Visual Studio:         2017, 2019
.NET Target Framework: 4.5

Resources

Usage

  1. Compile and run the sample from the provided code.
  2. Enter a valid file path of a Published Map File (PMF) from ArcMap and load.
  3. Click the Map button to display the data view.
  4. Use the tools to navigate around the focus map.
  5. Click the Layout button to display the layout view.
  6. Use the tools to navigate the data in any of the data frames on the page layout.

Licensing

Development licensing Deployment licensing
ArcGIS Desktop Basic: Publisher ArcReader
ArcGIS Desktop Standard: Publisher Engine
ArcGIS Desktop Advanced: Publisher ArcGIS Desktop Basic
ArcGIS Desktop Standard
ArcGIS Desktop Advanced