Re: create pdf file in VB6
- From: Antithesus <Antithesus@xxxxxxxxx>
- Date: Thu, 19 Jun 2008 12:34:01 -0700
I have been using this class for some time, in my development
of a Print Preview facility which has the ability to Export the report
to RTF and/or PDF.
My problem with it, is that I can't seem to make it use any other font
than the 4 identified.
Even if I change the code (Select statement) to allow for
(in my case) "Comic Sans MS" and "Trebuchet", it all still comes out
Arial.
This, of course is when I use either the "LoadFont" method,
or the "LoadFontStandard" method.
Without the ability to specify other fonts, this limits my use of this
facility... so I am looking for anything else which will work as I need.
By the way... I am building this Print Preview facility because the one
which exists (PrintPreview) (the ONLY one which exists) (from Waty
Thiery of Belgium) throws an error message when the application quits,
under VISTA.
Waty seems to have no time nor interest in fixing this problem.
So I am building my own.
It has the ability to use Drawtext, Drawline, Drawbox, Drawimage,
allowing for font name, size, bold, italic, underscore, strikethru,
color, and ROTATION angle.
It presents your report in a Picture box (preview) which can be zoomed
in/out, and you can page from first to last and any page in between.
Then you can export the report to RTF, or PDF, or of course, Print it to
a Printer.
I have everything working successfully... but it is just this damned PDF
font thing which is a PITA.
Anyone wishing to assist/collaborate or whatever, please let me know.
*** Sent via Developersdex http://www.developersdex.com ***
.
- Follow-Ups:
- Re: create pdf file in VB6
- From: Mike Williams
- Re: create pdf file in VB6
- Prev by Date: Re: Email Using CDO VB6.0 - What PC setup is required
- Next by Date: Re: Opening Txt Files
- Previous by thread: Opening Txt Files
- Next by thread: Re: create pdf file in VB6
- Index(es):
Relevant Pages
|