Welcome to LEAD Support Forum
Login
|
Register
|
Faq
LEAD Support Forum
Resource to find answers and post technical questions about LEAD products.
Search
Forums
Home
How to print HTML files.
Started by Ganesh at 06-27-2008 2:24. Topic has 3 replies.
LEAD Support Fo...
»
Developer
»
File Formats
»
How to print HTML files.
Search
06-27-2008, 2:24
Ganesh
Joined on 01-08-2008
Posts 20
How to print HTML files.
Hi,
Is it possible to print .Html files using leadtools. I am using Leadtools version 14.5.0.68 and C# 2008.
It will be greatly helpful if you can provide some sample code.
Thanks,
Ganesh.
Report
06-27-2008, 10:02
jigar
Joined on 08-22-2007
Posts 343
Re: How to print HTML files.
Are you wanting to know how to render HTML files? Our toolkit does not support rendering HTML files. If you are wanting to just print out the raw HTML text, then you can read it as a TXT file and rasterize it. After that you can use the RasterImagePrinter.
LEADTOOLS Technical Support
Report
06-30-2008, 0:40
Ganesh
Joined on 01-08-2008
Posts 20
Re: How to print HTML files.
Thanks for your reply.
It will be greatly appreciate if you can provide some sample code.
Thanks
Ganesh.
Report
06-30-2008, 10:07
jigar
Joined on 08-22-2007
Posts 343
Re: How to print HTML files.
Basically you just follow the sample code for "Loading and Displaying an Image" in our documentation. Before you call RasterCodecs.Load() you set RasterCodecs.Options.Txt.Load.Enabled = true so it can load text files. After you have loaded the file you can use the RasterImagePrinter sample code to print it out.
LEADTOOLS Technical Support
Report
LEAD Support Fo...
»
Developer
»
File Formats
»
How to print HTML files.
(please select)
Forums Home
|- Search Forums
|- Active Topics
|- Unanswered Posts
User Options
|- Sign In
|- Create a New Account
|- Forgot Password
General
|- Feature Requests
|- Example Requests
|- Support Site Suggestions
Enduser
|- ePrint
|-- FAQ
|- Multimedia Codec's
|- Capture & Convert
|- Capture & Present
|- Photoshop Plugins
|- LEADViEW
LEAD/Axtel Barcode SDK
|- LEAD/Axtel FAQ
|- Barcode
Developer
|- FAQ
|- General
|- Image Processing
|- Image Compression
|-- Examples
|- Color Conversion
|- Image Display
|- Special Effects
|- Multimedia
|- Internet
|-- Examples
|- File Formats
|- Scanning/Capture
|- Common Dialogs
|- Printing
|- Annotations
|- Database
|- DICOM/Medical Imaging
|- OCR
|- JBIG
|- Vector
|- PDF
|- ePrint API
|- Multimedia Filter Pack API
|- DotNet
|-- WPF
|- Deployment
Copyright LEAD Technologies, Inc. 2008