PhpOffice\PhpPresentation\Shape\RichText::hasAutoShrinkVertical PHP Method

hasAutoShrinkVertical() public method

Set vertical auto shrink
public hasAutoShrinkVertical ( ) : boolean
return boolean
    public function hasAutoShrinkVertical()
    {
        return $this->autoShrinkVertical;
    }

Usage Example

Esempio n. 1
0
 public function testGetSetVAutoShrink()
 {
     $object = new RichText();
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText', $object->setAutoShrinkVertical());
     $this->assertNull($object->hasAutoShrinkVertical());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText', $object->setAutoShrinkVertical(2));
     $this->assertNull($object->hasAutoShrinkVertical());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText', $object->setAutoShrinkVertical(true));
     $this->assertTrue($object->hasAutoShrinkVertical());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText', $object->setAutoShrinkVertical(false));
     $this->assertFalse($object->hasAutoShrinkVertical());
 }
All Usage Examples Of PhpOffice\PhpPresentation\Shape\RichText::hasAutoShrinkVertical