Call this multiple times to place surrounds on the surface of the map. Specify coordinates in pixels. Origin is at lower left corner.
[Visual Basic .NET] Public Sub AddMapSurround ( _ ByVal surround As IMapSurround, _ ByVal xPixelOrigin As Integer, _ ByVal yPixelOrigin As Integer, _ ByVal AnchorPoint As esriAnchorPointEnum _ )
[C#] public void AddMapSurround ( IMapSurround surround, int xPixelOrigin, int yPixelOrigin, esriAnchorPointEnum AnchorPoint );
[C++]
HRESULT AddMapSurround(
IMapSurround* surround,
long xPixelOrigin,
long yPixelOrigin,
esriAnchorPointEnum AnchorPoint
);
[C++]Parameters
surroundsurround is a parameter of type IMapSurround
xPixelOrigin xPixelOrigin is a parameter of type long yPixelOrigin yPixelOrigin is a parameter of type long AnchorPointAnchorPoint is a parameter of type esriAnchorPointEnum
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.