This document is archived and information here might be outdated. Recommended version. |
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*
Use this method to set the ActiveView of the MapDocument. Use the PageLayout and Map properties to specify the ActiveView.