Results 1 to 2 of 2

Thread: Picture / Image control with zoom/stretch??

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2001
    Location
    LoCal
    Posts
    280

    Picture / Image control with zoom/stretch??

    This is driving me crazy. I remember using a picturebox or image control that had a stretch property that could be set to something like center or zoom. Basically I need a control to display an image but have that image either stretched or compressed to fit inside the control.

    The stretch property for the image control stretches box axes of the image - i need it stretched / compressed while maintaining it's proportions.

    Any ideas? I know I've used it but I can't find it!!

    Aiieee!
    Achichincle

    VB6 (VSEE SP5, W2KPro)
    ASP
    HTML

  2. #2
    champgary
    Guest
    I am not much sure but try API
    We had project to zoom anything on desktop for that we used these API , Perhaps this will help you
    GetCursorPos
    GetDC
    GetDesktopWindow
    ***StretchBlt *(this is one of the important in project)

    Regards
    Gary

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