|
-
Nov 6th, 1999, 06:59 AM
#1
Thread Starter
New Member
I have two questions:
1) is there a way that i can store a pixel from a picture box picture and place it into another picture box?
2)how can i save a picture box as a *.bmp
-
Nov 6th, 1999, 01:30 PM
#2
You can use the Point Method to Get the Color of a Pixel in a Picturebox and the PSet Method to Set a Pixel Color of a Picturebox, eg.
Picture2.PSet(X, Y), Picture1.Point(X, Y) 'Copies a Pixel From Picture1 to Picture2
To Save an Image in a Picturebox as a Bitmap, use the SavePicture Function, eg.
SavePicture Picture1.Image, "C:\BMPS\MyBmp.bmp" 'Save the Image in Picture1 to the File "C:\BMPS\MyBmp.bmp" as a Bitmap.
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|