4D View v16

PV Get header

Home

 
4D View v16
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)



See also 

PV SET HEADER

 
PROPERTIES 

Product: 4D View
Theme: PV Printing
Number: 15969

 
HISTORY 

Created: 4D View 6.8

 
ARTICLE USAGE

4D View Language ( 4D View v16)