CNiArrow

CNi

Class CNiArrow Base ClassesData ItemsConstructorsDestructorsFunctionsGo to hierarchy chart    Prev page: operator =Next page: Color    
Class Declared in:
NiArrow.h

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

Hierarchy Chart Hierarchy Chart

'Base Classes' icon -- Shortcut to top of page. Base Classes

'Data Items' icon -- Shortcut to top of page. Data Items

Public data CNiColor Color Specifies the color of the arrow.
Public data ArrowHeadStyles HeadStyle Specifies the style of the arrow head.
Public data LineStyles LineStyle Specifies the line style of the arrow.
Public data ArrowHeadStyles TailStyle Specifies the style of the arrow tail.
Public data bool Visible Specifies if the arrow is visible or hidden.
Public data short Width Specifies the width of the arrow.

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

Public constructor

CNiArrow()

Default constructor.
Public constructor

CNiArrow( CWArrow_CI* pCustom, CNiInterface::ThreadAccess option )

Constructor that attaches to the specified CWArrow_CI pointer.
Public constructor

CNiArrow( const CNiArrow& source )

Copy constructor.

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

Public destructor

~CNiArrow()

Destructor.

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

Public function static const IID &

GetIid()

Returns the globally unique identifier (GUID) of the ActiveX interface to which this class connects.
Public function const CNiArrow &

operator =( const CNiArrow& source )

Assignment operator.

Shortcut to top of page. Example

    // Change the visibility of the arrow on the first annotation.
    CNiGraph graph;
    CNiArrow arrow = graph.Annotations.Item(1).Arrow;
    arrow.Visible = false;