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


IAppDisplay.MainScreen Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Display)  

IAppDisplay.MainScreen Property

The ScreenDisplay associated with the main application window. Set this property before using the other properties and methods.

[Visual Basic .NET]
Public Property MainScreen As IScreenDisplay
[C#]
public IScreenDisplay MainScreen {get; set;}
[C++]
HRESULT get_MainScreen(
  IScreenDisplay** MainScreen
);
[C++]
HRESULT putref_MainScreen(
  IScreenDisplay* MainScreen
);
[C++]

Parameters MainScreen [out, retval]
MainScreen is a parameter of type IScreenDisplay MainScreen [in]
MainScreen is a parameter of type IScreenDisplay

Product Availability

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

See Also

IAppDisplay Interface