This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IO > IOrbitalFlyTool Interface > IOrbitalFlyTool.SetDefaultPos Method (ArcObjects .NET 10.5 SDK) |
The default position of the tool panel.
[Visual Basic .NET] Public Sub SetDefaultPos ( _ ByVal Left As Integer, _ ByVal Top As Integer _ )
[C#] public void SetDefaultPos ( int Left, int Top );
[C++]
HRESULT SetDefaultPos(
long Left,
long Top
);
[C++]
Parameters Left [in] Left is a parameter of type long Top [in] Top is a parameter of type long
Set the default position in screen coordinates of the ControlsGlobeOrbitalFlyTool navigation panel. Passing left as -1 and top as -1, will display the navigation panel positioned to the top left of the IGlobeViewer object the ControlsGlobeOrbitalFlyTool is working with.