![]() |
SnapMode








Public Data Item |
Declared in: NiAnnotation.h |
Declaration
SnapModes SnapMode;
Description
Specifies the snap mode of the annotation shape. The following list includes annotation snap modes.
- CNiAnnotation::SnapFloating - sets annotation independent of any plot.
- CNiAnnotation::SnapNearestPoint - snaps annotation to nearest point on any plot.
- CNiAnnotation::SnapPointsOnPlot - snaps annotation to points on a specific plot.
- CNiAnnotation::SnapFixed - the annotation is independent of any plot or axes setting.
- CNiAnnotation::SnapAnchoredToPoint - fixes annotation to a specific point on a specific plot.
Note: SnapMode controls whether the annotation shape is centered around the plot point specified by PointIndex. It also controls how the annotation shape is dragged by the mouse. When you change the SnapMode, the current annotation position changes according to the new settings.