+1 888 340 6572

Arw SetStyle: Difference between revisions

From MultiCharts
(Created page with "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 ...")
 
No edit summary
Line 5: Line 5:


Where: ObjectID - a numerical expression specifying the object ID number  
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  
 
ArrowStyle - a numerical expression specifying the arrow style; arrow styles range from 0 to 13  
   
   
==== Notes ====  
==== Notes ====  
An object-specific ID number is returned by <syntaxhighlight>Arw_New</syntaxhighlight> when the arrow object is created.  
An object-specific ID number is returned by [[Arw_New]] when the arrow object is created.  
   
   
==== Example ====
==== Example ====

Revision as of 13:12, 20 January 2012

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);