PhpOffice\PhpPresentation\Shape\RichText::hasAutoShrinkVertical PHP 메소드

hasAutoShrinkVertical() 공개 메소드

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

Usage Example

예제 #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