Arw SetStyle

From MultiCharts
Revision as of 12:39, 13 February 2012 by Admin (talk | contribs) (Reverted edits by 176.8.90.7 (talk) to last revision by 194.84.116.138)
Jump to navigation Jump to search

Assigns the specified style to the arrow of an arrow object with the specified ID number; returns a value of 0 if the arrow style was successfully modified, and a value of -2 if the specified object ID number is invalid.

Usage

Arw_SetStyle(ObjectID,ArrowStyle)

Where: ObjectID - a numerical expression specifying the object ID number

ArrowStyle - a numerical expression specifying the arrow style; arrow styles range from 0 to 13

Notes

An object-specific ID number is returned by Arw_New when the arrow object is created.

Example

Assign the arrow style of 5 to an arrow object with the ID number of 3:

Value1=Arw_SetStyle(3,5);