471,312 Members | 1,839 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,312 software developers and data experts.

Displaying a portion of a image and zoom

VC
Hi

I'd like to display an imagem in a picture box, but just a portion of
it

Example (please ignore the dots, I use them to keep the alignment)

+-----------------------------------------------+
|................................................. | <--- hole Image
|................................................. |
|..........................+---------------------|
|...........................|..................... |
|...........................|..................... | <--- portion I'd
like to display
+-------------------------+--------------------+

Some case, I must display this portion with zoom

Could someone tell me if this is possible and points me to articles or
papers of how to do that?

Thanks in advance
Jul 29 '08 #1
2 1481
On Jul 29, 8:16 am, VC <vcinqu...@gmail.comwrote:
>
Could someone tell me if this is possible and points me to articles or
papers of how to do that?
Take a look at this site in general:

http://www.bobpowell.net

and this page in particular:

http://www.bobpowell.net/transformations.htm

Chris

Jul 29 '08 #2
TAB
If I understand you right, I think it would be easiest to just clone a part
of
the original image.

Bitmap original; // of some kind
Bitmap pieceOfOriginal = original.Clone(startAtX, startAtY, width, height);
"VC" <vc*******@gmail.comskrev i meddelandet
news:07**********************************@m36g2000 hse.googlegroups.com...
Hi

I'd like to display an imagem in a picture box, but just a portion of
it

Example (please ignore the dots, I use them to keep the alignment)

+-----------------------------------------------+
|................................................. | <--- hole Image
|................................................. |
|..........................+---------------------|
|...........................|..................... |
|...........................|..................... | <--- portion I'd
like to display
+-------------------------+--------------------+

Some case, I must display this portion with zoom

Could someone tell me if this is possible and points me to articles or
papers of how to do that?

Thanks in advance
Jul 29 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by John L | last post: by
18 posts views Thread by John | last post: by
3 posts views Thread by Keith G Hicks | last post: by
10 posts views Thread by Arnaud Diederen | last post: by
11 posts views Thread by Usenet User | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.