Zoom effect on winforms

G

Guest

Hi there,
I have a custom control which i want it to draw ina rectangle a picture and
i have two buttons to do zoom in and zoomm out.
I want that when i click on one of these buttons make a zoom on the drawing
to see with more detail a region of it and scrollbars appear in the sides of
teh control to navigate through the image.
I have derived my control from Scrollablecontrol becuase i jave read that
this is the way to acomplish the use of scrollbars but i cant see the way of
making the virtual "clientrectangle" smaller than the display rectangle
without actually resizing the control.
Anyone knows some book that explains how to acomplish this?or knows how to
do this? thanks.
 
B

Bob Powell [MVP]

C

Cris

I need to make something like what MS Word does: I need to be able to set styles
for the different paragraphs \via dropdown combo for example\ in a TextBox
(preferably RichText) and I also want to have row numbers. How can I do this the
easiest way?

This is a quick description of what I need.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top