0

I have an image for the background of the form I'm working on, but I had to increase the size of the form. Is it possible to have it scale the image instead of tiling? I could stretch it in photoshop but I was wondering if this was possible.

2
Contributors
3
Replies
7
Views
6 Years
Discussion Span
Last Post by lxXTaCoXxl
1

Simplest way is to set the image properties to stretch it will automatically scale it to fit the form completely.

this.BackgroundImageLayout = ImageLayout.Stretch;

You're very welcome. :D

Edited by lxXTaCoXxl: n/a

0

thx for your help i found it soon after posting and felt fairly dumb lol

0

Not a problem, that's usually the case with the simpler stuff like that. We overlook and over analyze. lol

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.