Skip to main content
Version: Next

VP SET SHOW PRINT LINES

VP SET SHOW PRINT LINES ( vpAreaName : Text {; visible : Boolean}{; sheet : Integer} )

ParameterTypeDescription
vpAreaNameText->4D View Pro area form object name
visibleBoolean->Print lines displayed if True (default), hidden if False
sheetInteger->Sheet index (current sheet if omitted)

Description

The VP SET SHOW PRINT LINES command sets whether to display print preview lines in a spreadsheet..

In vpAreaName, pass the name of the 4D View Pro area.

In visible, pass True to display the print lines, and False to hide them. True is passed by default.

In sheet, pass the index of the target sheet. If no index is specified, the command applies to the current sheet.

Indexing starts at 0.

The position of a spreadsheet's print lines varies according to that spreadsheet's page breaks.

Example

The following code displays print lines in a document's second sheet:

VP SET SHOW PRINT LINES("ViewProArea";True;1)

set-show-print-lines

With a page break:

set-show-print-lines-with-page-break

See also

4D Get show print lines