Article | 70002585 |
Type | Wish |
Product | Engine |
Version | 1102 |
Date Added | 11/7/2024 12:00:00 AM |
Fixed | 11.3.2.0 (11/7/2024 12:00:00 AM) |
Submitted by | Brendan Fry |
Summary
A new property to control the Snap affect with mouse movements
Solution
A new property SnapModeAffect of vdLayout vdViewport and vdDocument was added in version 11.3.2
Defines how Snap affects mouse movements as vdRender.SnapModeFlags
it can get one or more of the follwing values:
vdRender.SnapModeFlags.All = 0 : mouse always locked on snap points
vdRender.SnapModeFlags.SnapToUserGetPointsOnly = 1 : mouse locked on snap points only for a user action that waiting a point from the user
vdRender.SnapModeFlags.SnapInsidePickSize = 2 : mouse locked on snap points when it is inside the document.GlobalRenderProperties.PickSize
default value is vdRender.SnapModeFlags.SnapToUserGetPointsOnly
SnapModeAffect property is saved with the document
this property is also supported for .vds format and web control