Skip to main content
Version: Next

VP Get show print lines

VP Get show print lines ( vpAreaName : Text {; sheet : Integer } ) : Boolean

ParameterTypeDescription
vpAreaNameText->4D View Pro area form object name
sheetInteger<-Sheet index
Function resultBoolean<-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)

See also

VP SET SHOW PRINT LINES