Combining multiple fonts in a display string

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I'm a newbie to VB .Net and am unable to locate an example of combine two
different font types (Arial and Wingdings 3) in a display (text) string.
Does anyone have an example of combining two font types together in a string
that I could utilize? The text will be going into a button field and I
wanted to use some of the symbols that are part of the Wingdings font types
along with my main text.

Thank you in advance for your assistance!!
 
Hi:
To save time, I used the "brute force" method when I recently needed two
fonts on a button.

I designed the button in Photoshop using the background color and fonts of
my choice and then saved the image as a .jpg file.
I then created a button in VB form designer and selected "Image" then
selected my image file.
Only took me ten minutes and it looks terrific!!
.....joisey
 
hp3k said:
I'm a newbie to VB .Net and am unable to locate an example of combine two
different font types (Arial and Wingdings 3) in a display (text) string.
Does anyone have an example of combining two font types together in a
string
that I could utilize? The text will be going into a button field and I
wanted to use some of the symbols that are part of the Wingdings font
types
along with my main text.

Create a class that derives from 'Button' and overrides its 'OnPaint'
method. In this method you can draw custom text onto the button using
'e.Graphics.DrawString(...)'.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top