load('death.jpg'); $orientacion = 'landscape'; $encabezado = true; $param = array ( // 'rotation' => '90' ); $PDF_MARCO =& new MECON_PDF_Marco ('a4', $orientacion); $PDF_IMAGEN =& new MECON_PDF_Imagen ($img, 'left', $orientacion, $encabezado, $param); $PDF_TEXTO =& new MECON_PDF_TEXTO ($orientacion, $encabezado); $PDF_TEXTO->addContent ( 'TEXTO PRE IMAGEN asdddddddddddddddddddddddddddddddddddddddddddd asdddddddddddddddddddddd asddddddddddd' ); $PDF_MARCO->addContent($PDF_TEXTO, true); $PDF_MARCO->addContent($PDF_IMAGEN, true); $PDF_TEXTO =& new MECON_PDF_TEXTO ($orientacion, $encabezado); $PDF_TEXTO->addContent ( 'TEXTO POST IMAGEN asdddddddddddddddddddddddddddddddddddddddddddd asdddddddddddddddddddddd asddddddddddd' ); $PDF_MARCO->addContent($PDF_TEXTO, true); $PDF_MARCO->display(); $img->free(); exit; $img->rotate(90); ?>