function SetMargins($left,$top,$right=null,$bottom=null){ parent::SetMargins($left, $top, $right); $this->bMargin = $bottom?$bottom:$top; $this->_makePageSize(); }