Horde_Pdf_Writer::setLeftMargin PHP Метод

setLeftMargin() публичный Метод

The method can be called before creating the first page. If the current abscissa gets out of page, it is brought back to the margin.
См. также: setAutoPageBreak()
См. также: setMargins()
См. также: setRightMargin()
См. также: setTopMargin()
public setLeftMargin ( float $margin )
$margin float The margin.
    public function setLeftMargin($margin)
    {
        $this->_left_margin = $margin;
        /* If there is a current page and the current X position is less than
         * margin set the X position to the margin value. */
        if ($this->_page > 0 && $this->x < $margin) {
            $this->x = $margin;
        }
    }