Parameters
- modes
- a variable set of zero or more (comma-separated) SnapMode parameters expressed either as an array or as a variable length argument list
Sets the given snapping modes.
Snapping.SetSnapModes(SnapMode.Midpoint); // sets only the Midpoint snapping mode Snapping.SetSnapModes(SnapMode.Point, SnapMode.Edge); // sets only Point and Edge snapping modes Snapping.SetSnapModes(); //clear all snap modes
Target Platforms: Windows 10, Windows 8.1