Provides access to the Map Server Legend Patch Interface.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
When To Use
A MapServerLegendPatch object is a parameter of the GetLegendInfo method on IMapServer. Use IMapServerLegendPatch to customize the size of the legend patch and the shape of the symbol displayed on the patch. To export a single image of the legend use ExportLegend on IMapServerLayout.
Members
Description | ||
---|---|---|
AreaPatch | The area patch. | |
LinePatch | The line patch. | |
PatchHeight | The patch height (in points). | |
PatchResolution | The patch resolution (dots per inch). | |
PatchWidth | The patch width (in points). |
CoClasses that implement IMapServerLegendPatch
CoClasses and Classes | Description |
---|---|
MapServerLegendPatch | The Map Server Legend Patch coclass contains settings about a legend patch. |
Remarks
A legend patch is a rectangular image with an individual polygon, line or point symbol associated with a particular legend class. Use PatchHeight and PatchWidth to change the size of the legend patch. Use AreaPatch or LinePatch to change the shape of the symbol. If the goal is only to change the size of the patch and to retain the default shape, AreaPatch and LinePatch do not have to be set.