getAutoFit() public method

Get autofit
public getAutoFit ( ) : string
return string
Ejemplo n.º 1
0
 public function testGetSetAutoFit()
 {
     $object = new RichText();
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText', $object->setAutoFit());
     $this->assertEquals(RichText::AUTOFIT_DEFAULT, $object->getAutoFit());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText', $object->setAutoFit(RichText::AUTOFIT_NORMAL));
     $this->assertEquals(RichText::AUTOFIT_NORMAL, $object->getAutoFit());
 }