getDefaultOrientation() public méthode

P (portrait) or L (landscape)
public getDefaultOrientation ( ) : string
Résultat string
Exemple #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());
 }