GeneralPreferences.panZoomOrbitShortcuts Property

Parent Object: GeneralPreferences
Defined in namespace "adsk::core" and the header file is <Core/Application/GeneralPreferences.h>

Description

Gets and sets how pan, zoom, and orbit should behave.

Syntax

"generalPreferences_var" is a variable referencing a GeneralPreferences object.

# Get the value of the property.
propertyValue = generalPreferences_var.panZoomOrbitShortcuts

# Set the value of the property.
generalPreferences_var.panZoomOrbitShortcuts = propertyValue
"generalPreferences_var" is a variable referencing a GeneralPreferences object.
#include <Core/Application/GeneralPreferences.h>

// Get the value of the property.
PanZoomOrbitShortcuts propertyValue = generalPreferences_var->panZoomOrbitShortcuts();

// Set the value of the property, where value_var is a PanZoomOrbitShortcuts.
bool returnValue = generalPreferences_var->panZoomOrbitShortcuts(value_var);

Property Value

This is a read/write property whose value is a PanZoomOrbitShortcuts.

Version

Introduced in version May 2022