How to use
See How to use ArcGIS samples for help on compiling, setting up the debugger, and running the sample.
Data has been provided for your use with this sample. It can be found at
<Your ArcGIS Developer Kit Install directory>/Samples/data/Representations/representations.gdb.
If the sample has associated data, you will find that the sample's zip file includes a "data" folder alongside the language folders.
However, you will need to update the sample to point to the location of the data once you have extracted all the files.
- Open the Visual Studio solution file.
- Build the solution.
- Open ArcMap, then a map document.
- Click the Add Data button to add a point feature class with representations to the map document.
- In the Layer Properties dialog box, click the Symbology tab to change the feature renderer to a representation renderer.
- Select the representation rule within the representation renderer that you want to add this custom marker placement to.
- Select a basic marker symbol in this representation rule or add a new basic marker symbol.
- Click the arrow button next to your selected marker symbol layer to open the Marker Placement dialog box, which lists all marker placements. The custom class will be listed under the point input options. Select the Around_Point option.
- Select the new custom marker placement to put new marker symbols around the point geometry. Change the values for radius and number or accept the default values.
AroundPoint.vb | Code that lists the custom marker placement implementation |
AssemblyInfo.vb | Assembly Information |
AroundPointCls.cs | ArcObjects code |
AssemblyInfo.cs | Assembly information |
Download the files for all languages
Development licensing | Deployment licensing |
---|---|
ArcGIS for Desktop Basic | ArcGIS for Desktop Basic |
ArcGIS for Desktop Standard | ArcGIS for Desktop Standard |
ArcGIS for Desktop Advanced | ArcGIS for Desktop Advanced |