WP DELETE HEADER
WP DELETE HEADER ( wpSection )
Parameter | Type | Description | |
---|---|---|---|
wpSection | Object | → | 4D Write Pro section or subsection |
Description
The WP DELETE HEADER command deletes the header element associated to the section or subsection defined by the wpSection parameter.
If no header element exists for the section or subsection, the command does nothing.
Example
You want to delete the header of the right pages of a section:
var $section;$subsection;$header : Object
//Retrieve the reference on the first section
$section:=WP Get section(wpDoc;1)
//Retrieve the reference on right subsection of the first section
$subsection:=WP Get subsection($section;wk right page)
//Remove the header
WP DELETE HEADER($subsection)