An Integer type property. Gets or sets the snap sensitivity value for a document.
Applies to: Document object
[[Let] snapSensRet =] object.SnapSensitivity [Let] object.SnapSensitivity = snapSensSet |
The SnapSensitivity property syntax has these parts:
Part | Description |
object | Required. An expression that returns a Document object. |
snapSensRet | Optional. A Integer type variable. |
snapSensSet | Required. An expression that returns a Integer value. |
Snap sensitivity is set in screen pixels. The SnapSensitivity property can only have positive or zero values. An attempt to assign a negative value won't modify SnapSensitivity. You can also change snap sensitivity for a document from within ConceptDraw using the "File->Document Properties->Settings" dialog.
This example contains an application-level script. It increases the snap sensitivity value for all open documents by 20%.
' Declare variable Dim cur_doc As Document ' Get the first document Set cur_doc = thisApp.FirstDoc() While cur_doc <> Null ' Set snap sensitivity cur_doc.SnapSensitivity = cur_doc.SnapSensitivity * 1.2 ' Get next document Set cur_doc = thisApp.NextDoc() Wend |
See Also |
Scale property, SplineSmooth property |