This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapDescriptor Interface > IMapDescriptor.AddMapSurround Method (ArcObjects .NET 10.4 SDK) |
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