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

hasAutoShrinkHorizontal() public method

Get horizontal auto shrink
    public function hasAutoShrinkHorizontal()
    {
        return $this->autoShrinkHorizontal;
    }

Usage Example

Example #1
0
 public function testGetSetHAutoShrink()
 {
     $object = new RichText();
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText', $object->setAutoShrinkHorizontal());
     $this->assertNull($object->hasAutoShrinkHorizontal());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText', $object->setAutoShrinkHorizontal(2));
     $this->assertNull($object->hasAutoShrinkHorizontal());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText', $object->setAutoShrinkHorizontal(true));
     $this->assertTrue($object->hasAutoShrinkHorizontal());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText', $object->setAutoShrinkHorizontal(false));
     $this->assertFalse($object->hasAutoShrinkHorizontal());
 }
All Usage Examples Of PhpOffice\PhpPresentation\Shape\RichText::hasAutoShrinkHorizontal