version 6.8.1 (Modified)
PV SET PRINT PROPERTY (area; property; value)
| Parameter | Type | Description | |
| area | Longint | 4D View area | |
| property | Longint | Property number | |
| value | Longint | Property value |
Description
The PV SET PRINT PROPERTY command sets the value of the property for the specified 4D View area.
Use the PV Print properties constants to define the property parameter. The following list details the constants which can be used in both the property and value parameters:
pv print left margin
The left margin is the area between the left side of the paper (including the left dead margin) and the text. Associated values: margin in pixels.
pv print top margin
The top margin is the area between the top side of the paper (including the top dead margin) and the header. Associated values: margin in pixels.
pv print right margin
The right margin is the area between the right side of the paper (including the right dead margin) and the text. Associated values: margin in pixels.
pv print bottom margin
The bottom margin is the area between the bottom side of the paper (including the bottom dead margin) and the footer. Associated values: margin in pixels.
Note: See below for more information regarding dead margins.
pv print repeat first column
Indicates the number of the first column of the range to be printed on each page. This constant must be used in combination with the pv print repeat last column constant. Associated values: column number.
pv print repeat last column
Indicates the number of the last column of the range to be printed on each page. This constant must be used in combination with the pv print repeat first column constant. Associated values: column number.
pv print repeat first row
Indicates the number of the first row of the range to be printed on each page. This constant must be used in combination with the pv print repeat last row constant. Associated values: row number.
pv print repeat last row
Indicates the number of the last row of the range to be printed on each page. This constant must be used in combination with the pv print repeat first row constant. Associated values: row number.
pv print headers
Allows printing (or not) of the row and column headers. Associated values: pv value on or pv value off
pv value on: row and column headers are printed.
pv value off: row and column headers are not printed.
pv print centered
Allows centering (or not) of the printing on the page. Associated values: pv value on or pv value off
pv value on: the printing is centered on the page.
pv value off: the printing is not centered on the page.
pv print adjust area
Allows adjusting (or not) of the printable area. Associated values: pv value on or pv value off
pv value on: the printable area is adjusted.
pv value off: the printable area is not adjusted.
pv print frame each page
Allows printing of a frame (or not) around each printed page. Associated values: pv value on or pv value off
pv value on: a frame is printed on each page.
pv value off: no frame is printed.
pv print grid
Allows printing (or not) of a grid on the area. Associated values: pv value on or pv value off
pv value on: the grid is printed.
pv value off: the grid is not printed.
pv print orientation
Allows setting or reading paper orientation at the time of printing. Associated values: PV Print values theme constants.
pv portrait orientation: the paper is oriented in portrait mode.
pv landscape orientation: the paper is oriented in landscape mode.
pv print paper width
This constant is read-only (PV Get print property command). It returns the paper width. Associated values: width in pixels.
pv print paper height
This constant is read-only (PV Get print property command). It returns the paper height. Associated values: height in pixels.
Dead Margin
The dead margin is the non-printable area located at the edges of the paper. This area is set by the print drive.
pv print dead left margin
This constant is read-only (PV Get print property command) and returns the size, in pixels, of the left dead margin.
pv print dead top margin
This constant is read-only (PV Get print property command) and returns the size, in pixels, of the top dead margin.
pv print dead right margin
This constant is read-only (PV Get print property command) and returns the size, in pixels, of the right dead margin.
pv print dead bottom margin
This constant is read-only (PV Get print property command) and returns the size, in pixels, of the bottom dead margin.
$margin:=PV Get print property(area; pv print dead bottom margin) `Returns the dead bottom margin in pixels
See Also
Constants
PV Print properties and PV Print values theme.