Knowledge Base - Technical Articles


Technical Article   HowTo:  Automatically display feature counts in the ArcMap TOC and legends

Article ID: 21494
Software:  ArcGIS - ArcEditor 8.1, 8.1.2, 8.2, 8.3, 9.0, 9.1, 9.2 ArcGIS - ArcInfo 8.1, 8.1.2, 8.2, 8.3, 9.0, 9.1, 9.2 ArcGIS - ArcView 8.1, 8.1.2, 8.2, 8.3, 9.0, 9.1, 9.2
Platforms:  Windows NT 4.0, 2000, XP

Summary

When writing VB/VBA code to create a UniqueValueRenderer, show feature counts in the ArcMap Table of Contents (TOC) and legends by appending the count for each class to the value that is specified for the class label.

Procedure

Follow one of two options given below:



Created: 1/28/2002
Last Modified: 9/10/2008

If you would like to post a comment, please login

Comments

By Anonymous - 01/27/2003 6:43 AM

I just want the number and not color ramps etc. Is there just a simple code to do just that?