This document is archived and information here might be outdated.  Recommended version.


IPageLayout2.ReplaceMaps Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IPageLayout2.ReplaceMaps Method

Replace the maps in the data frames with the specified maps. If there are more maps than frames, new frames are created. If there are fewer frames than maps, extra frames are cleared.

[Visual Basic .NET]
Public Sub ReplaceMaps ( _
    ByVal maps As IMaps _
)
[C#]
public void ReplaceMaps (
    IMaps maps
);
[C++]
HRESULT ReplaceMaps(
  IMaps* maps
);
[C++]

Parameters maps [in]
maps is a parameter of type IMaps*

Product Availability

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

See Also

IPageLayout2 Interface