|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IO > IOrbitalFlyTool Interface > IOrbitalFlyTool.FlyToolOnly Method (ArcObjects .NET 10.4 SDK) | 
Suppresses the pivot and zoom functionality.
[Visual Basic .NET] Public Sub FlyToolOnly ( _ ByVal bFlyOnly As Boolean _ )
[C#] public void FlyToolOnly ( bool bFlyOnly );
[C++]
HRESULT FlyToolOnly(
  VARIANT_BOOL bFlyOnly
);
[C++]
Parameters bFlyOnly [in] bFlyOnly is a parameter of type VARIANT_BOOL
Use the FlyToolOnly method to control whether pivoting and zooming are disabled in the ControlsGlobeOrbitalFlyTool, and only flying is supported.