Results 1 to 3 of 3

Thread: Image size

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2000
    Posts
    55
    i want to display an 408*60*256 gif
    how do i set the hight/width mesurements?

    (in the position properties the size is'nt the same)

  2. #2
    Guest
    If you are using an ImageBox, set the Stretch property to True and then size the ImageBox to 480x60. Then the ImageBox will stretch the Picture to whatever size you want it.

    Another way of doing it is uing the PaintPicture method.

    Code:
    Private Sub Command1_Click()
    
       ' Paints the picture on the form.
       Form1.PaintPicture Picture1.Picture, 0, 0, 480, 60
    
    End Sub

  3. #3
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946
    set Image1.picture = load(app.path & "\myfolder\mypic.gif"
    Image1.width = image1.picture.width
    Image1.height=image1.picture.height
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

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