Click or drag to resize
SoWinExaminerViewerSetConstrainedViewingMode Method

Sets the constrained viewing mode.

Namespace: OIV.Inventor.Win.Viewers
Assembly: OIV.Inventor.Win (in OIV.Inventor.Win.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public void SetConstrainedViewingMode(
	SoWinExaminerViewerConstrainedViewingModes mode
)

Parameters

mode
Type: OIV.Inventor.Win.ViewersSoWinExaminerViewerConstrainedViewingModes
Remarks

This method is useful to associate a key combination with a constrained mode. Notes:

  • There is no need to set the viewing mode to VIEWING_MODE_SPIN_CONSTRAINED to apply a constraint.

  • When the constrained mode is set to NONE, the automatic constraints apply if VIEWING_MODE_SPIN_CONSTRAINED is set.

  • This setting is a "one shot". It only applies to the next mouse button down event.

See Also