Register Lost your password?

public function fAddSection(array arrParamsSection = array())

Parameters

$arrParamsSection

  • ‘orient’ (page orientation) :’landscape’
  • ‘top’ (top margin) : 4000,..
  • ‘bottom’ (bottom margin) : 4000,..
  • ‘right’ (right margin) : 4000,..
  • ‘left’ (left margin): 4000,..
  • ‘titlePage’ (if the first page contains the header): 1

Examples

Example 1 Version Pro


require_once('../classes/cCreateDocx.inc');
$objDocx = new cCreateDocx();
$arrParamsSection = array('orient' => 'landscape','top' => 4000, 'bottom' => 4000, 'right' => 4000, 'left' => 4000);
$objDocx->fAddSection($arrParamsSection);
$objDocx->fCreateDocx('ejemplo_section');		

Your comments