This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.
@Hvwwiett Hvwt if you have your pdf content in html format, you can pass string form of the same to generatePdfUsingHtmlString as an argument.
Example snippet
//if pdf content is in the html page as follows
/*
<html>
<head>
<title>Enter a title, displayed at the top of the window.</title>
</head>
<!-- The information between the BODY and /BODY tags is displayed.-->
<body>
<h1>Enter the main heading, usually the same as the title.</h1>
<p>Be <b>bold</b> in stating your key points. Put them in a list: </p>
<ul>
<li>The first item in your list</li>
<li>The second item; <i>italicize</i> key words</li>
</ul>
Break up your page with a horizontal rule or two. </p>
<hr>
<!-- And add a copyright notice.–>
<p>© Wiley Publishing, 2011</p>
</body>
</html>
*/