We also have ExcelConverter, HtmlConverter, ImageConverter, PowerPointConverter, RtfConverter, TextConverter, and WordConverter for converting specific file types with respective options classes. string sampleHtml = "This is a very simple HTML string including a Table below." +Ĭonverter.ConvertHtmlString(sampleHtml, pdfFilePath) ĭim sampleHtml As String = "This is a very simple HTML string including a Table below." +Ĭonverter.ConvertHtmlString(sampleHtml, pdfFilePath) Please refer to the Converting Current Web Page to PDF section for an example of how to specify converting a current web page to PDF. The conversion process starts automatically as soon as the PDF is uploaded. The following example demonstrates converting a specific HTML string to PDF (as opposed to using an actual HTML file or URL, as shown in the examples above). STEP 1:Drag and drop or click to upload a PDFto convert to HTML. Converter.Convert("", pdfFilePath) Ĭonverter.Convert(rtfFilePath, pdfFilePath) Ĭonverter.Convert(rtfFilePath.rtf, pdfFilePath) The conversion process is similar for all 50 supported document types. The example also illustrates RTF to PDF conversion. This example demonstrates a simple file conversion from HTML (a specified URL) to PDF. The following examples illustrate converting a file or URL to PDF followed by converting a string to PDF. Select Plug-ins > Links > Generate Links > Generate Links By Text Search (Single Rule). Converting a file with no advanced options is straightforward. Open a PDF document that needs to be linked.
0 Comments
Leave a Reply. |