SnapToObjects Tool Changing Values

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

rmcmanamy
User
Posts: 46
Joined: Thu Jun 23, 2005 1:01 pm

SnapToObjects Tool Changing Values

Post by rmcmanamy »

If the Flags are set to 0 for Objects the SnapTopObjects tool changes the value to 992 which I can't figure out what all the flags are for. But in the Preferences interface you can uncheck all of the options and toggle the Snap to Objects on and off and it still leaves them individual values unchecked.

Call CoPDFXCview1.SetProperty("Commenting.Snapping.Objects.Flags", 0, 0)
Call CoPDFXCview1.DoVerb("", "ExecuteCommand", "SnapToObjects", vDataOut, 0)
Call CoPDFXCview1.GetProperty("Commenting.Snapping.Objects.Flags", vDataOut, 0)

then returns 992 but I can't seam to figure out what values 512 is.

Endpoint = 32
Edge = 64
Mid = 128
Center = 256
Snap to Annotations Only = 262144

Also how do you get it to actually use the Flags value? The only way I could get it to work was to toggle the SnapOnOff value.
Rodney McManamy
CADzation
AutoCAD to PDF and DWF Solutions
rmcmanamy@cadzation.com
http://www.cadzation.com
User avatar
Vasyl-Tracker Dev Team
Site Admin
Posts: 2353
Joined: Thu Jun 30, 2005 4:11 pm
Location: Canada

Re: SnapToObjects Tool Changing Values

Post by Vasyl-Tracker Dev Team »

These features are undocumented now. :wink:

And will be described in the next build.

The "Commenting.Snapping.Objects.Flags" works properly in the control's UI only..

Please wait for new build - due out early - next week.

Thanks for your patience.
Vasyl Yaremyn
Tracker Software Products
Project Developer

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.