Difference between revisions of "Arw Delete"

From MultiCharts
Jump to navigation Jump to search
(Created page with "Removes an arrow object with the specified ID number from a chart; returns a value of 0 if the object was successfully removed, and a value of -2 if the specified object ID nu...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Removes an arrow object with the specified ID number from a chart; returns a value of 0 if the object was successfully removed, and a value of -2 if the specified object ID number is invalid.  
+
Removes an arrow object with the specified ID number from a chart.
  
==== Usage ====
+
Arw_Delete returns a value of 0 if the object was successfully removed, and a value of -2 if the specified object ID number is invalid.
 +
 
 +
== Usage ==
 
<syntaxhighlight>
 
<syntaxhighlight>
 
Arw_Delete(ObjectID)  
 
Arw_Delete(ObjectID)  
 
</syntaxhighlight>
 
</syntaxhighlight>
Where: ObjectID - a numerical expression specifying the object ID number
 
  
==== Notes ====
+
Where:
An object-specific ID number is returned by Arw_New when the arrow object is created.  
+
 
 +
:'''ObjectID''' - a numerical expression specifying the object ID number.
 +
 
 +
== Notes ==
 +
* An object-specific ID number is assigned by [[Arw_New]], [[Arw_New_s]], [[Arw_New_self]] or [[Arw_New_self_s]] when the arrow object is created.
 +
* Use [[Arw_GetActive]], [[Arw_GetFirst]] or [[Arw_GetNext]] to get the object-specific ID of a specified arrow.
  
==== Example ====
+
== Example ==
 
Remove the arrow object with an ID number of 3:  
 
Remove the arrow object with an ID number of 3:  
  
 
<syntaxhighlight>
 
<syntaxhighlight>
Value1=Arw_Delete(3);  
+
Value1 = Arw_Delete(3);  
 
</syntaxhighlight>
 
</syntaxhighlight>
 
  
 
[[Category:ArrowDrawing]]
 
[[Category:ArrowDrawing]]

Latest revision as of 08:06, 19 February 2012

Removes an arrow object with the specified ID number from a chart.

Arw_Delete returns a value of 0 if the object was successfully removed, and a value of -2 if the specified object ID number is invalid.

Usage

Arw_Delete(ObjectID)

Where:

ObjectID - a numerical expression specifying the object ID number.

Notes

Example

Remove the arrow object with an ID number of 3:

Value1 = Arw_Delete(3);