Results 1 to 3 of 3

Thread: [RESOLVED] Saving label with Wingdings 3 font with image in PictureBox

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2009
    Posts
    17

    Resolved [RESOLVED] Saving label with Wingdings 3 font with image in PictureBox

    Hi,

    in my program I'm placing some labels on my picture in picturebox. These labels use Wingdings 3 font, because it has arrows. I'm using left (letter f) anf right arrow (letter g).
    If I want to save my picture together with labels, I use the command:

    Picture1.Print Label1.Caption
    SaveImage Picture1.Image, "c:\new_image.jpg"

    It actualy saves my modified picture, but when I open the file, I see on my picture only letters f and g in places, where I would now expect to see arrows!
    What am I doing wrong and how can I solve my problem?

    Thanks in advance for any helpful solution.
    Last edited by Spajder; Jan 8th, 2009 at 02:37 PM.

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    Re: Saving label with Wingdings 3 font with image in PictureBox

    The Caption contains fg, it is the font that interprets how those characters are displayed on screen.

    Simply set the Picturebox's font to Wingdings as well.

    Code:
    Picture1.Font = Label1.Font
    Picture1.Print Label1.Caption
    SavePicture Picture1.Image, "c:\image2.jpg"

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jan 2009
    Posts
    17

    Re: Saving label with Wingdings 3 font with image in PictureBox

    Thanks, brucevde!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width