Horde_Pdf_Writer::getFormatHeight PHP 메소드

getFormatHeight() 공개 메소드

public getFormatHeight ( ) : float
리턴 float
    public function getFormatHeight()
    {
        return $this->_default_orientation == 'P' ? $this->fhPt : $this->fwPt;
    }

Usage Example

예제 #1
0
 public function testFactoryWithDefaults()
 {
     $pdf = new Horde_Pdf_Writer();
     $this->assertEquals('P', $pdf->getDefaultOrientation());
     $this->assertTrue(abs($pdf->getScale() - 2.8346456692913) < 1.0E-6);
     $this->assertEquals(841.89, $pdf->getFormatHeight());
     $this->assertEquals(595.28, $pdf->getFormatWidth());
 }