function SetLeftMargin($margin) { // Set left margin $this->lMargin = $margin; if ($this->page > 0 && $this->x < $margin) { $this->x = $margin; } }