By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,032 Members | 1,350 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,032 IT Pros & Developers. It's quick & easy.

how do you change the size of the clipping region of a Graphics object

P: n/a
Hi there,

I have a panel that I'm trying to draw lines on based on mouse events.
I'm using a Graphics object to do this. However, the region that the
graphics object will draw lines in is different in size than the panel
size. I'd like the graphics object's clipping region (is "clipping
region" the right terminology?) to be the same size as the panel. How
do I do this?

Note that the default size of the clipping region for the graphics
object that I created seems to be 200x100. Why is this? Shouldn't it be
the same as the panel in which it was instantiated?


Jan 24 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.