X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/c1ff0681768a6653b37f512a866b2a4847c85352..1aa774a935f76496935ec5b00c00dcef4cd7288e:/lib/MECON/PDF/Marco.php?ds=sidebyside diff --git a/lib/MECON/PDF/Marco.php b/lib/MECON/PDF/Marco.php index 18f1692..610b98d 100644 --- a/lib/MECON/PDF/Marco.php +++ b/lib/MECON/PDF/Marco.php @@ -300,6 +300,16 @@ class MECON_PDF_Marco extends MECON_PDF { $conf['linea2']['Xf'], $conf['linea2']['Yf'], '', null, $this->orientacion); } + + /* + * Funcion que obtiene el ancho de la pagina + * + * @return ancho de la pagina + * @access public + */ + function getWidth() { + return parent::getWidth($this->orientacion); + } /** * Funcion que permite agregar el titulo a una pagina. @@ -443,4 +453,4 @@ class MECON_PDF_Marco extends MECON_PDF { $this->_contenido[] = $contenido; } } -?> \ No newline at end of file +?>