__soapCall($method,$param); } /** * Create a PDF from an URI * * @param string $url URI (max. 4096 length) * @param string $license License ID or an empty string if not licensed or "lowquality" for no advertising but lower quality * @param string $header Header string or an empty string if not licensed * @return string base64 encoded PDF file data */ public function CreatePDF($url,$license,$header){ return self::_Call('CreatePDF',Array( $url, $license, $header )); } /** * Create a PDF from an URI * * @param string $url URI (max. 4096 length) * @param string $license License ID or an empty string if not licensed or "lowquality" for no advertising but lower quality * @param string $header Header string or an empty string if not licensed * @param string $orientation Page orientation (Portrait|Landscape) * @param string $background Convert background images/colors? (0|1) * @param string $print Printer mode? (0|1) * @return string base64 encoded PDF file data */ public function CreatePDF2($url,$license,$header,$orientation,$background,$print){ return self::_Call('CreatePDF2',Array( $url, $license, $header, $orientation, $background, $print )); } }