version 6.0
WR O Get page (area; position) Integer
| Parameter | Type | Description | |
| area | Longint | 4D Write area | |
| position | Longint | Position of a character in area | |
| Function result | Integer | Page of the character position passed in position |
Note 6.5: This command was only maintained for compatibility purposes. We recommend using the WR GET CURSOR POSITION command.
Description
The command WR O Get page returns the page of the character position passed in the position parameter. For example, if the 100th character is on page 3, the value in Result in the following line of code will be 3:
Result:=WR O Get page (Area;100)
Note: This function is useful only if you set the document to View Page mode.
See Also