Hi
Does anyone know of any DLL to convert HTML to PDF or any graphics format?
Thanks in advance
Printable View
Hi
Does anyone know of any DLL to convert HTML to PDF or any graphics format?
Thanks in advance
You can use the PDFWriter afaik from adobe acrobat
Jimjam!! :DQuote:
Originally posted by plenderj
You can use the PDFWriter afaik from adobe acrobat
Do I have to buy PDFWriter for that?
I'd like to use a dll file through VB. Do you know of a dll file that does it?
Flusty ;)
Yeah you'd have to buy it.
Do you need the entire HTML document in the image or what.
Is this any sort of doc you'll be doing this with, or just specific ones ?
Yeah.. I'm creating an HTML document and I want to export it in a fixed way, some kinda picture format or whatever.
Ideally i'd like to convert to jpeg format, but I've spent ages trawling the net and haven't found a dll or anything :(
I don't wanna have to do a screen capture.
How big, physically, are the html docs ?
The HTML file in bytes is 11K
The pixels are:
Width is about 1000
Height is about 750
Well it would certainly fit into a screenshot of the screen!
It'd depend on the users screen and I'd have to send key strokes (which I want to avoid). Also a screen shot would limit the detail :(
I'd really like to use some other method to do it, but I'm a bit stumped :(
Well if you had the page displayed in a web browser control, you could use BitBlt() and grab a copy of the image into memory.
The only problem then would be trying to save that image to the HDD for further use.
I seem to remember from a course I went on that this was quite easy to do with XML.
I didnt do much after the course so I cant remember offhand what to do.:D
Of course you could just install a freeware PDFwriter such as PDF995.
It works like a printer driver, so you just have to write the code to print to it.