Results 1 to 2 of 2

Thread: How to print the picture I've drawn in PictureBox

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 1999
    Location
    Ilirska Bistrica, Slovenia
    Posts
    242

    Arrow

    Hello!

    I have another question regarding Printer object.
    I tried to print contenst of picture box but I got an error. In picture box I drew two lines and some text with Picture1.Print and Picture1.Line statements. But when I tried to print that picturebox with statement Printer.PaintPicture Picture1.Picture, I got an error -- it said there was no picture.
    How can I print content of picture box without .Picture property or without that annoying error?
    Zvonko Bostjancic
    Ilirska Bistrica, Slovenia
    [email protected]
    Using VS6 Professional with SP3
    Programming mostly in VB and I've started to learn VC++ & MFC

  2. #2
    Ex-Super Mod'rater Electroman's Avatar
    Join Date
    Sep 2000
    Location
    Newcastle, England
    Posts
    4,349

    Not the answer

    I am just putting this reply in here because I also would like to know the answer to your "Q"

    When your thread has been resolved please edit the original post in the thread ()
    and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.

    When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.

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