Results 1 to 4 of 4

Thread: Printing Graphic

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 1999
    Location
    Oporto, Portugal
    Posts
    134

    Angry

    I'm trying to print a grphics thats is twice the size of the papers size so I tried the printer.paintpicture to do it. But, what it gives me is only the image but half-sized (half the image).

    The same happens when I try to save a picturebox after resizing it (it is saved as the original).

    I tried to use picturebox1.image and yes, it is in autoredraw = true.

    Any ideas ??

    Thanks in advance.
    Jorge Ledo
    [email protected]
    Portugal were the sun allways shine... for programmers.

  2. #2
    Member
    Join Date
    Sep 1999
    Location
    Gloucester, UK
    Posts
    33
    you need to use the paintpicture method to resize your image

    e.g.

    printer.paintpicture picture, 0, 0, , , 1400, 1400, printer.width-2800, printer.width-2800
    VB / GIS Consultant
    VB6 SP4, VC++6

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Oct 1999
    Location
    Oporto, Portugal
    Posts
    134
    I tried it but the measurement of the area was correct but the picture inside was not "streched".
    Jorge Ledo
    [email protected]
    Portugal were the sun allways shine... for programmers.

  4. #4
    Member
    Join Date
    Sep 1999
    Location
    Gloucester, UK
    Posts
    33
    good point!!

    I had co-ords the wrong way round

    printer.paintpicture picture, 1400, 1400,printer.width-2800, printer.height-2800,0 ,0,picture.width, picture.height
    VB / GIS Consultant
    VB6 SP4, VC++6

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