PhpOffice\PhpPresentation\Shape\Chart\PlotArea::getHeight PHP Метод

getHeight() публичный Метод

Get Height (as a fraction of the chart)
public getHeight ( ) : float
Результат float
    public function getHeight()
    {
        return $this->height;
    }

Usage Example

Пример #1
0
 public function testHeight()
 {
     $object = new PlotArea();
     $value = rand(0, 100);
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\PlotArea', $object->setHeight());
     $this->assertEquals(0, $object->getHeight());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\PlotArea', $object->setHeight($value));
     $this->assertEquals($value, $object->getHeight());
 }