E
Eric
Hi,
I'm writing a program that based on input will create a document. It is
something simulair as a printing example.
In MS Word when you click on the shown document you can zoom in and if you
click again you'll zoom out again.
This is what I would like to do as well.
I draw the document in a bitmap, since all the information is drawn from a
database and on the form it is shown in a picturebox.
So what I'm trying to find out is how I can zoom in a certain factor by
clicking somewhere in the document.
If I use the SCALE method I can zoom in and out but how can I move the
bitmap so that the point clicked on is shown in the center of the
picturebox.
Please give me some directions on how to do this?
thanks,
Eric
I'm writing a program that based on input will create a document. It is
something simulair as a printing example.
In MS Word when you click on the shown document you can zoom in and if you
click again you'll zoom out again.
This is what I would like to do as well.
I draw the document in a bitmap, since all the information is drawn from a
database and on the form it is shown in a picturebox.
So what I'm trying to find out is how I can zoom in a certain factor by
clicking somewhere in the document.
If I use the SCALE method I can zoom in and out but how can I move the
bitmap so that the point clicked on is shown in the center of the
picturebox.
Please give me some directions on how to do this?
thanks,
Eric