Difference between revisions of "RectangleGetNext"
Jump to navigation
Jump to search
(Created page with "Returns an ID number of the first existing rectangle drawn subsequent to a rectangle with the specified ID number, with both rectangles of a specified origin; returns a value...") |
|||
Line 18: | Line 18: | ||
Assign a value to Value1 variable, indicating the ID number of the first existing rectangle drawn subsequent to a rectangle with the ID number of 3, with both rectangles drawn by the current study: | Assign a value to Value1 variable, indicating the ID number of the first existing rectangle drawn subsequent to a rectangle with the ID number of 3, with both rectangles drawn by the current study: | ||
<syntaxhighlight>Value1=RectangleGetNext(3,1);</syntaxhighlight> | <syntaxhighlight>Value1=RectangleGetNext(3,1);</syntaxhighlight> | ||
+ | |||
+ | [[Category: Rectangle Drawing]] |
Latest revision as of 15:09, 23 August 2021
Returns an ID number of the first existing rectangle drawn subsequent to a rectangle with the specified ID number, with both rectangles of a specified origin; returns a value of -2 if the specified object ID number is invalid.
Usage
RectangleGetNext (ID,Origin)
Parameters
- ID - a numerical expression specifying the rectangle ID number
- Origin - a numerical expression specifying the origin of the rectangles:
1 - drawn by the current study
2 - drawn by a study other then the current study, or drawn manually by the user
3 - drawn by any study, or drawn manually by the user
4 - drawn by the current study, or drawn manually by the user
5 - drawn by a study other then the current study
6 - drawn by any study
7 - drawn manually by the user
Example
Assign a value to Value1 variable, indicating the ID number of the first existing rectangle drawn subsequent to a rectangle with the ID number of 3, with both rectangles drawn by the current study:
Value1=RectangleGetNext(3,1);