-
Notifications
You must be signed in to change notification settings - Fork 194
/
Readme.html
74 lines (65 loc) · 5.16 KB
/
Readme.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>Tabbed feature inspector</title>
<style>
table, th, td {
border: 1px solid black;
border-collapse: collapse;
}
th, td {
padding: 5px;
}
th {
font-weight: bold;
}
</style>
</head>
<body>
## Tabbed feature inspector
<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 create a custom object inspector.</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">A custom object inspectors allows you to control the information that is returned to the user when selected features are inspected. The custom inspector calculates and reports the area and perimeter of selected polygons, the length and coordinates of selected lines, and the coordinates of selected points. </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">The custom information is shown in the second panel of a tabbed control. The first panel of the control shows the standard information for the feature. </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">The selected features must be from an object that supports both IFeatureClass and IClassSchemaEdit (see the Additional information section).</div>
```
Language: C#, VB
Subject: Controls
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](http://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm)
* [Sample Data Download](../../releases)
* [What's new](http://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#91cabc68-2271-400a-8ff9-c7fb25108546.htm)
* [Download the ArcObjects SDK for .Net from MyEsri.com](https://my.esri.com/)
### Usage
1. Open the solution and set EngineApplication as the startup project.
1. Build the solution and run the application.
1. Add point, polyline, and/or polygon feature class data to the map.
1. Select a feature layer and use the Attach/Detach Tabbed Inspector Extension command.
1. Confirm that the status bar at the bottom of the EngineApplication displays the Tabbed Inspector Extension as successfully attached to the selected feature class.
1. Start editing, then choose one or more features from the selected feature class and open the Attribute dialog box.
1. Ensure that a feature is selected in the Attribute dialog box tree. The Custom tab of the Attribute dialog box shows the output from the custom object inspector.
#### Additional information
<div xmlns="http://www.w3.org/1999/xhtml" xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2006-02-10T23:25:53">The inspected features must be from an object that supports both IFeatureClass and IClassSchemaEdit. The Tabbed Feature Inspector is attached to a feature class using the feature class's IClassSchemaEdit interface. Classes that do not implement this interface, such as a shapefile class, cannot be used with this sample. </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">In addition, a feature class can have only one IFeatureClassExtension at a time, so some feature classes<font face="Verdana">—</font>such as annotation feature classes<font face="Verdana">—</font>cannot be used with this sample.</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">This sample can be adapted for use with an ObjectClass that is not displayed in the table of contents but that has a feature class extension.</div>
---------------------------------
#### Licensing
<table><tr><th> Development licensing </th><th> Deployment licensing </th></tr>
<tr><td> Engine Developer Kit </td><td> Engine </td></tr>
<tr><td> </td><td> ArcGIS Desktop Basic </td></tr>
<tr><td> </td><td> ArcGIS Desktop Standard </td></tr>
<tr><td> </td><td> ArcGIS Desktop Advanced </td></tr>
</table>
</body>
</html>