classes/SimplePdf/Page.php
public function setMargins($marginLeft, $marginRight, $marginTop, $marginBottom)
    {
        $this->setLeftMargin($marginLeft);
        $this->setRightMargin($marginRight);
        $this->setTopMargin($marginTop);
        $this->setBottomMargin($marginBottom);
        return $this;
    }
public function setMargins($marginLeft, $marginRight, $marginTop, $marginBottom)
    {
        $this->setLeftMargin($marginLeft);
        $this->setRightMargin($marginRight);
        $this->setTopMargin($marginTop);
        $this->setBottomMargin($marginBottom);
        return $this;
    }
public function setMargins ( $ marginLeft , $ marginRight , $ marginTop , $ marginBottom ) { $ this -> setLeftMargin ( $ marginLeft ) ; $ this -> setRightMargin ( $ marginRight ) ; $ this -> setTopMargin ( $ marginTop ) ; $ this -> setBottomMargin ( $ marginBottom ) ; return $ this ; }
Set new margin, in the given units

@param float $marginLeft new left margin, in the given units
@param float $marginRight new right margin, in the given units
@param float $marginTop new top margin, in the given units
@param float $marginBottom new bottom margin, in the given units
@return \SimplePdf\Page this page
Set new margin in the given units