Change the size of background image


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.


You might want to look at the topics that mention “paintBackground”, and the following one in particular:
My response there talks about a fixed-size gradient, but you could call Graphics.DrawImage there instead of filling with a gradient brush.