Anyone know a simple way to Zoom graphics in a picture box in and out. Maybe an .OCX that does it for you?? All suggestions appreciated!
Printable View
Anyone know a simple way to Zoom graphics in a picture box in and out. Maybe an .OCX that does it for you?? All suggestions appreciated!
You can play arround with the PictureBox's ScaleHeight and ScaleWidth properties.
do u know how 2 use bitblt? if u do there is a similar function called stretchblt which will strecth the bitmap
I know how to use bitblt....but i am not using a bitmap. I am manually drawing a graph on a small picture box, and plotting X & Y coordinates on it. I want to be able to zoom in and see areas where the X&Y cross very closely. I am just using plain old VB line commands and some math functions for arcs...etc.
If zooming in and out is crucial to your application, you could use the Macromedia Flash ocx. You don't have to make a movie, you can use a still image, and zoom in and out 5%, 1000%, 200% etc....Check it out. If you already have Flash installed on your computer the .ocx will automatically appear in Project/Components. If you don't have Flash, get it for free from the Macromedia website.
how egsactly do you get to project/components to add in the .ocx file?