Change the size of background image


#1

I am creating a network (using GoView) where I do allow my application user to set the background image through “File Open Dialog Box”. This is working fine.
But after setting the Image if user performs resize opertion on the GoView then the background Image should ideal resize. This done not happen automatically (I do understand that this can be done programmatically, but is there any standard way of to do it)
Ideally, i would like to have a property on GoView “FitBackgroundImage”, setting this true will resize the background image automatically when resizing is done to GoView.


#2

You might want to look at the topics that mention “paintBackground”, and the following one in particular:
http://www.nwoods.com/forum/forum_posts.asp?TID=20
My response there talks about a fixed-size gradient, but you could call Graphics.DrawImage there instead of filling with a gradient brush.