The RTF to PDF Converter component of the library allows you to convert RTF documents to PDF.
You can set PDF page size, orientation and margins of the generated PDF document.
Additionally, you can add HTML headers and footers with page numbering to the generated PDF file
or generate a table of contents based on headings.
You can either enter a RTF file URL (which can also be a local URL using the file:// prefix when running the demo on your machine),
or upload a RTF file directly from your computer.
Images are reduced to the width of the page and long words are wrapped on their own. For a document with an element
that cannot be reduced, such as a table whose columns hold codes that cannot be broken, the Fit Wide Content to Page
option scales the whole content down to show that element entirely; to see the difference, replace RTF_Document.rtf
with RTF_Document_Wide_Content.rtf in the file URL below.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Content Wider than the Page
|
|
|
|
|
|
|
PDF Header and Footer Options
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|