| Article | 60001709 |
| Type | Wish |
| Product | Engine |
| Date Added | 5/17/2012 12:00:00 AM |
| Fixed | (5/17/2012 12:00:00 AM) |
| Submitted by | Francois Peens |
Summary
How can I use OsnapCrossPointsAddvalue and OsnapCrossPointsAddenum under VB6 ?
Solution
A new property is exported in the vdDocument object, named OsnapCrossPointsAddvalue which controls if the the helping crosses of object snaps (OSnaps) are going to be added or not.
In VB6 you can use this like :
Private Sub Form_Load()
Dim doc As VectorDraw_Professional.vdDocument
VDraw1.DisplayFrames = ShowAll
VDraw1.EnableAutoGripOn = True
Set doc = VDraw1.ActiveDocument.WrapperObject
doc.OsnapCrossPointsAddvalue = OsnapCrossPointsAddenum_NONE
'^ help crosses will not be dispayed
End Sub
Added in 6023
