VP Get show print lines
VP Get show print lines ( vpAreaName : Text {; sheet : Integer } ) : Boolean
Parameter | Type | Description | |
---|---|---|---|
vpAreaName | Text | -> | 4D View Pro area form object name |
sheet | Integer | <- | Sheet index |
Function result | Boolean | <- | True if print lines are visible, False otherwise |
Description
The VP Get show print lines
command returns True
if the print preview lines are visible and False
if they are hidden.
In vpAreaName, pass the name of the 4D View Pro area.
In sheet, pass the index of the target sheet. If sheet is omitted, the command applies to the current sheet.
Indexing starts at 0.
Example
The following code checks if preview lines are displayed or hidden in the document:
var $result : Boolean
$result:=VP Get show print lines("ViewProArea";1)