| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 6 年前 | ||
| 6 年前 | ||
| 9 年前 | ||
| 6 年前 | ||
| 6 年前 |
ArcReaderGlobeControl document properties
This sample demonstrates how to use the IARGlobeControl.ShowARGlobeWindow method to display the FileProperties modal window when the Browse dialog box is used to select a document to load into the control. The DataFrame and Layer properties modal windows are displayed by right-clicking the globe or a layer in the table of contents (TOC) to display the context menu and selecting Properties. The IARGlobeControl.TOCVisible property is used to toggle the visibility of the TOC if the loaded document was published with permission to do so.
When the TOC is invisible, the DataFrame and Layer properties cannot be displayed manually. Instead, the IARGlobeControl.ARGlobe property is used to obtain pertinent information about the globe; for example, its Description, DistanceUnits, Name, and SpatialReferenceName properties. The IARGlobe.ARLayer property is used to iterate each layer in the globe and obtain its Description, Name, MaximumScale, and MinimumScale properties. These properties are concatenated into a string, which is displayed in a RichTextBox.
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
- ArcObjects .NET API Reference online
- Sample Data Download
- What's new
- Download the ArcObjects SDK for .Net from MyEsri.com
Usage
- Start Visual Studio, open the solution file, and build the project.
- Run the application.
- Browse to a Published Map File (PMF) from ArcGlobe to load.
- Display the file properties.
- Right-click the globe in the TOC to display the data frame properties.
- Right-click a layer in the TOC to display the layer properties.
- Hide the TOC.
- Display the globe and layer properties.
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 |