ArcObjects Library Reference (Carto)  

IMapDocument.SetActiveView Method

Set the ActiveView content of the map document.

[Visual Basic .NET]
Public Sub SetActiveView ( _
    ByVal pActiveView As IActiveView _
)
[C#]
public void SetActiveView (
    IActiveView pActiveView
);
[C++]
HRESULT SetActiveView(
  IActiveView* pActiveView
);
[C++]

Parameters

pActiveView [in]

  pActiveView is a parameter of type IActiveView

Product Availability

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

Description

Use this method to set the ActiveView of the MapDocument. Use the PageLayout and Map properties to specify the ActiveView.

See Also

IMapDocument Interface