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

isUpright() public method

Get upright
public isUpright ( ) : boolean
return boolean
    public function isUpright()
    {
        return $this->upright;
    }

Usage Example

Example #1
0
 public function testGetSetUpright()
 {
     $object = new RichText();
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText', $object->setUpright());
     $this->assertFalse($object->isUpright());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText', $object->setUpright(true));
     $this->assertTrue($object->isUpright());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText', $object->setUpright(false));
     $this->assertFalse($object->isUpright());
 }