Results 1 to 2 of 2

Thread: [RESOLVED] .NET 1.1 Resizing a Picture

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member Sgt-Peppa's Avatar
    Join Date
    Mar 2003
    Location
    Munich - Germany
    Posts
    476

    Resolved [RESOLVED] .NET 1.1 Resizing a Picture

    Hi all,

    I feel stupid right now, but I just cant get my head around that one or find some sample "c0d" on the net. Probably caused by heavy World Cup celebrating

    I have a picture Box sized to my Screen Resolution. Now I want to load a picture into that Picture Box and display it. All fine till here.

    But if the Picture is larger than my screen, the Picture gets cut. (You only see some parts of it.) How can I resize my Picture to fit the Screen if it is larger than the screen? Of course I want to maintain the aspect ratio and I am aware that the picture will not fill the screen but I am trying to make it as large as possible and still show the whole picture.

    Any hints are appreciated,

    Thanks,

    Stephan
    Last edited by Sgt-Peppa; Jun 26th, 2006 at 06:05 AM. Reason: Sorry forgot ta add the .NET version
    Keep Smiling - even if its hard
    Frankie Says Relax, wossname Says Yeah!
    wossname:--Currently I'm wearing a gimp suit and a parachute.
    C# - Base64 Blog

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