How to convert txt to HTML format using Delphi?


With Print2Flash it is easy to convert any txt documents to HTML format using Delphi. To convert txt documents to HTML programmatically, you may use Print2Flash OLE Automation API. You may get a sample demonstrating how to use Automation API for converting with Delphi from Print2Flash SDK. You may use this sample to build your own website or application for converting txt documents to HTML.

To accomplish this, you need:
  1. Download and install Commercial Edition of Print2Flash from the Download page.
  2. Download Print2Flash SDK archive from the same Download page.
  3. Unpack SDK archive to disk to a separate folder.
  4. Open Automation\Delphi folder of the SDK and follow sample installation and usage instructions located in the ReadMe.htm file from this folder.