public setMarginLeft ( float $margin ) | ||
$margin | float |
public function setMarginLeft($margin)
{
$this->_marginLeft = $margin;
}
/** * tests PHPRtfLite_Container_Section::getLayoutWidth */ public function testGetLayoutWidthUsingRtfValues() { $this->_rtf->setPaperWidth(20); $this->_rtf->setMarginLeft(2.3); $this->_rtf->setMarginRight(2.7); $this->assertEquals(15, $this->_section->getLayoutWidth()); return $this->_section; }