![]() |
CNiArrow | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Class |
Declared in: NiArrow.h |
Overview
CNiArrow encapsulates the interface to a single arrow on an annotation on a graph control, which allows you to modify the appearance and behavior of the arrow.
You obtain individual arrows using the Arrow property on a CNiAnnotation object.
Base Classes
Data Items
![]() |
CNiColor | Color | Specifies the color of the arrow. |
![]() |
ArrowHeadStyles | HeadStyle | Specifies the style of the arrow head. |
![]() |
LineStyles | LineStyle | Specifies the line style of the arrow. |
![]() |
ArrowHeadStyles | TailStyle | Specifies the style of the arrow tail. |
![]() |
bool | Visible | Specifies if the arrow is visible or hidden. |
![]() |
short | Width | Specifies the width of the arrow. |
Constructors
![]() |
CNiArrow() |
Default constructor. | |
![]() |
CNiArrow( CWArrow_CI* pCustom, CNiInterface::ThreadAccess option ) |
Constructor that attaches to the specified CWArrow_CI pointer. | |
![]() |
CNiArrow( const CNiArrow& source ) |
Copy constructor. |
Destructors
Functions
![]() |
static const IID & | GetIid() |
Returns the globally unique identifier (GUID) of the ActiveX interface to which this class connects. |
![]() |
const CNiArrow & | Assignment operator. |
Example
// Change the visibility of the arrow on the first annotation.
CNiGraph graph; CNiArrow arrow = graph.Annotations.Item(1).Arrow; arrow.Visible = false;