Results 1 to 3 of 3

Thread: Picturebox

  1. #1

    Thread Starter
    Hyperactive Member WP's Avatar
    Join Date
    Aug 2000
    Location
    Belgium
    Posts
    278

    Unhappy

    Hi,

    How can I print a picture on a piece of paper? when i use the following code, it print a number an the paper:

    Code:
    'There is a picture in picturebox 1
    Printer.Print ; Picture1.Picture
    Printer.EndDoc
    WP

    Visual Basic 6.0 EE SP5 / .Net
    Windows XP

  2. #2
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649
    Code:
    'x and y are the position you want the picture to be printed
    Printer.PaintPicture Picture1.Picture, x, y
    Printer.EndDoc

  3. #3

    Thread Starter
    Hyperactive Member WP's Avatar
    Join Date
    Aug 2000
    Location
    Belgium
    Posts
    278

    Smile very good

    Very good !

    WP

    Visual Basic 6.0 EE SP5 / .Net
    Windows XP

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