CNiAnnotation::SnapMode

CNi

Class
CNiAnnotation::
SnapMode
Base ClassesData ItemsConstructorsDestructorsFunctionsGo to hierarchy chart    Prev page: ShapeNext page: Visible    
Public Data Item Declared in:
NiAnnotation.h

'Declaration' icon -- Shortcut to top of page. Declaration

SnapModes SnapMode;

'Description' icon -- Shortcut to top of page. 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.

'See Also' icon -- Shortcut to top of page. See Also