ArcObjects Library Reference (Carto)  

IMapDescriptor.AddMapSurround Method

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

surround

  surround is a parameter of type IMapSurround

xPixelOrigin   xPixelOrigin is a parameter of type long yPixelOrigin   yPixelOrigin is a parameter of type long AnchorPoint

  AnchorPoint is a parameter of type esriAnchorPointEnum

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IMapDescriptor Interface