![]() |
Plot








Public Data Item |
Declared in: NiAnnotation.h |
Declaration
CNiPlot Plot;
Description
Specifies the plot associated with the annotation.
Notes:
1. Set this property to a plot in the CNiGraph.Plots collection to associate the CNiAnnotation with a specific CNiPlot.
2. If CNiAnnotation.CoordinateType is CNiAnnotation::AxesCoordinates, the annotation uses the coordinate system of this plot.
3. Check the value of this property to determine where the user has snapped the annotation shape. If CNiAnnotation.SnapMode is CNiAnnotation::SnapNearestPoint, the value can change when the annotation is repositioned. If CNiAnnotation.SnapMode is SnapLockToPlot, the value changes only when this property is explicitly set, or the plot is removed.