4D v13

PV Get header

Home

 
4D View v13
PV Get header

PV Get header 


 

PV Get header ( area ; header ) -> Function result 
Parameter Type   Description
area  Longint in 4D View area
header  Longint in Header position
Function result  String in Header string

The PV Get header command returns the header or footer string in the location set by header.

header is defined in PV Headers & footers constants to define the header parameter:

Constant Type Value
pv footer center Longint 5
pv footer left Longint 4
pv footer right Longint 6
pv header center Longint 2
pv header left Longint 1
pv header right Longint 3

Example  

Transfer the text from the center header to the page footer:

 C_TEXT($Header`Center header text
 
 $Header:=PV Get header(Area;pv header center`Get center header
 PV SET HEADER(Area;pv header center;"") `Empty header
 PV SET HEADER(Area;pv footer center;$Header`Pass to footer
 PV PRINT(Area)

 
PROPERTIES 

Product: 4D
Theme: PV Printing
Number: 15969

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D View 6.8

 
SEE ALSO 

PV SET HEADER