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

IPageLayout.ReplaceMaps Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IP > IPageLayout Interface > IPageLayout.ReplaceMaps Method
ArcGIS Developer Help

IPageLayout.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 _
public void ReplaceMaps (
    IMaps maps
HRESULT ReplaceMaps(
  IMaps* maps
maps [in]

maps is a parameter of type IMaps*

Product Availability

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

See Also

IPageLayout Interface