This document is archived and information here might be outdated. Recommended version. |
Provides access to members that control the map surround.
Name | Description | |
---|---|---|
DelayEvents | Used to batch operations together to minimize notifications. | |
Draw | Draws the map surround into the specified display bounds. | |
FitToBounds | Adjusts the map surround to fit the bounds. The changed argument indicates whether the size of the map surround was changed. | |
Icon | Icon used to represent the map surround. | |
Map | The parent map. | |
Name | Name of the map surround. | |
QueryBounds | Returns the bounds of the map surround. | |
Refresh | Makes sure the latest updates are refected the next time the Map Surround is drawn. |
CoClasses and Classes | Description |
---|---|
AlternatingScaleBar | A map surround for displaying a single alternating scale bar. |
DoubleAlternatingScaleBar | A map surround for displaying a double alternating scale bar. |
HollowScaleBar | A map surround for displaying a hollow scale bar. |
ImageInset | A map surround for displaying an inset. |
Legend | A map surround for displaying a legend. |
MapInset | A map surround for displaying an inset. |
MapTitle | A map surround for displaying a map title. |
MarkerNorthArrow | A map surround for displaying a marker north arrow. |
Overview | A map surround for displaying an overview. |
Scalebar | Obsolete scale bar coclass. Exists to preserve document format. |
ScaleLine | A map surround for displaying a scale line. |
ScaleText | A map surround for displaying a scale text. |
SingleDivisionScaleBar | A map surround for displaying a single division scale bar. |
SteppedScaleLine | A map surround for displaying a stepped scale line. |
IMapSurround provides access to the properties and method of a map surround. When creating a new map surround it is recommended that IMapFrame::CreateSurroundFrame is used rather than creating the class and hooking it up to the Map / MapFrame separately.