all groups > vb.net upgrade > july 2004 >
You're in the

vb.net upgrade

group:

Printing various fonts


Printing various fonts Duncan Gordon
7/26/2004 7:58:28 PM
vb.net upgrade:
I am having some difficulty in using the new style printing in .net. I
wish to print a block of text with various different fonts for different
sections, but I wish them to appear in the saem document. Aside from some
hefty playing with rectangular boxed areas is there any way (with the
emphesis on simplicity) that do this?

Your help is greatly appriciated!

--
Re: Printing various fonts Duncan Gordon
7/30/2004 12:07:56 PM
I have managed to locate a method of doing this using rich text boxes and
p/invoke to access the win32 api but it strikes me that this is a very
awkward way of doing things. Are there any of you that know of an easy
way to do this? Or is it simply inevitable that I am going to have to
"count the pixels" to get anything sensible out of my printer?

Any help on this matter would be _greatly_ appriciated!

[quoted text, click to view]

--
AddThis Social Bookmark Button