setVerticalOverflow() public method

Set vertical overflow
public setVerticalOverflow ( $value = self::OVERFLOW_OVERFLOW ) : RichText
$value string
return RichText
Beispiel #1
0
 public function testGetSetVOverflow()
 {
     $object = new RichText();
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText', $object->setVerticalOverflow());
     $this->assertEquals(RichText::OVERFLOW_OVERFLOW, $object->getVerticalOverflow());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText', $object->setVerticalOverflow(RichText::OVERFLOW_CLIP));
     $this->assertEquals(RichText::OVERFLOW_CLIP, $object->getVerticalOverflow());
 }