Rtf2Pdf Object |
[Top] [Chapter] [Previous] [Next] |
wRTF2PDF / TextDynamic Server by WPCubed GmbH is a universal tool to convert RTF files into PDF. It supports embedded images, tables, headers and footers, sections, embedded images, even textboxes and foot notes. We have added this topic to the TextDynamic manual since it uses almost the same interfaces and code in general is interchangeable. RTF2PDF can be seen as the server edition of TextDynamic.
The powerful API makes it easy to
- load text (RTF, ANSI, HTML, UNICODE and MIME) - process text, create tables, insert text and do mail merge - generate text (PDF, RTF, ANSI, HTML, UNICODE and MIME)
The object RTF2PDF is located in the assembly wPDF.dll. You need the RTF2PDF license to be able to use, the object will not work with wPDFControl.
When using RTF2PDF V3.5 or later we recommend to only use the property PDFCreator to change the way the PDF file is created. The "old" properties will still work though. Please also do not change the Command() function anymore to work with the text. Now you have a powerful API to create, load and save text. It is possible to load text in RTF, HTML, the proprietary WPT, ANSI and UNICODE format.
RTF2PDF can be easily used with ASP or ASP.NET to create HTML or PDF response output. Please check out our demo server. Since the API is so similar to the API of TextDynamic you can use almost the same code in your ASP page as you used for your desktop application. Due to its nature, it does not offer any GUI elements and does not implement the wpa actions used by TextDynamic.
RTF2PDF can also be used in VBS, VB and alike: Please see our introduction ActiveX example code!
Main interface for TextDynamic to manipulate text in editor #1 or #2:
Text creation and cursor positioning:
Other Interfaces:
Not used are yet (reserved for optional reporting edition)
Also see: |