Skip to main content
Version: 20 R7 BETA

WP DELETE FOOTER

WP DELETE FOOTER ( wpSection )

ParameterTypeDescription
wpSectionObject4D Write Pro section or subsection

Description

The WP DELETE FOOTER command deletes the footer element associated to the section or subsection defined by the wpSection parameter.

If no footer element exists for the section or subsection, the command does nothing.

Example

You want to delete the footer of the left 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 left subsection of the first section
 $subsection:=WP Get subsection($section;wk left page)
 
  //Remove the footer
 WP DELETE FOOTER($subsection)

See also

WP Get footer
WP New footer