This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IP > IPageLayout2 Interface > IPageLayout2.ReplaceMaps Method (ArcObjects .NET 10.5 SDK) |
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