![]() | InDesign SDK 20.5 |
#include <ISnapToSelectionSuite.h>

Public Types | |
| enum | { kDefaultIID = IID_ISNAPTOSELECTIONSUITE } |
Public Member Functions | |
| virtual bool16 | CanDoSnapTo (IDocument *document, SnapFlags flags) const =0 |
| virtual SnapType | SnapToPoint (ISnapTo *snapTo, IControlView *theView, PMPoint &thePoint, const PMRect *theRect, SnapType snapType, PMReal snapToZone, ILayoutControlData *layoutData)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Defines the interface for a snap-to suite to be used in the new selection architecture
| pure virtual |
Is this selection suite enabled? Can SnapToPoint be called?
| *document | |
| flags | ISnapTo::SnapFlags |
| pure virtual |
Snap the given point to the selection.
| snapTo | ISnapTo interface |
| theView | view doing the snapping |
| thePoint | in/out point that might be snapped |
| theRect | |
| snapType | how thePoint was snapped (one of SnapType enum values) |
| snapToZone | |
| layoutData |