version 6.0
WR O GET TABS (area; tabs)
| Parameter | Type | Description | |
| area | Longint | 4D Write area | |
| tabs | 2D Integer array | Receives array of tabs |
Note 6.5: This command was only maintained for compatibility purposes. We recommend using the WR GET TAB command.
Description
The command WR O GET TABS returns in tabs the tab stops of the selected paragraph in area. If more than one paragraph is selected, WR O GET TABS returns values for the paragraph where the selection begins.
tabs must be a 3 X 10, two-dimensional integer array. WR O GET TABS will not resize tabs. After you issue WR O GET TABS, the three arrays in tabs will contain the following:
Location of the tab stops in points
Types of justification
Leader (fill) characters
The number of tab stops will be returned in the zero element of tabs{1}.
tabs{1} contains the distance in points from the left side of the page to each tab.
tabs{2} contains a number that describes the justification of each tab. Possible values for elements in tabs{2} are as follows.
tabs{3} contains a number that describes the leader character of each tab. Possible values for elements in tabs{3} are as follows.
Note: The array used in WR O GET TABS must be a 3 X 10, two-dimensional integer array and cannot be resized by the command. You can check the number of tabs in the paragraph by testing the element tabs{1}{0}.
See Also