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


IPageLayout3.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 > IPageLayout3 Interface > IPageLayout3.ReplaceMaps Method
ArcGIS Developer Help

IPageLayout3.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

IPageLayout3 Interface