4D View v14

PV Get header

Home

 
4D View v14
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 View
Theme: PV Printing
Number: 15969

 
HISTORY 

Created: 4D View 6.8

 
SEE ALSO 

PV SET HEADER

 
ARTICLE USAGE

4D View Language ( 4D View v11.4)
4D View Language ( 4D View v12)
4D View Language ( 4D v13)
4D View Language ( 4D View v14 R2)
4D View Language ( 4D View v14)
4D View Language ( 4D View v14 R3)
4D View Language ( 4D View v14 R4)