picture resize

AOA,
plz any one tell me how i can get the picture size and then how can i change picture size. if picture is 800*600 how can i chage it to 1024*768.

regards,

Comments

  • : AOA,
    : plz any one tell me how i can get the picture size and then how can
    : i change picture size. if picture is 800*600 how can i chage it to
    : 1024*768.
    :
    : regards,
    :
    your prob is just very simple...

    if you will use a command button, you will simply create the syntax concerning to the property of the image/picture.

    here is a sample:
    [code]
    /*this syntax will expand the size of the image
    Private Sub Command1_Click()
    Image1.Width = 1024
    Image1.Height = 768
    End Sub
    /*this syntax will shrink the size of the image
    Private Sub Command2_Click()
    Image1.Width = 800
    Image1.Height = 600
    [/code]

    that's as simple as it is...


    from red3warlord with gratitude always saying...

    "let the rain begin, blessings are with them to gain..."
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion