Login
|
Register
Home
Products
Testimonials
Pricing
Support
Forums
Downloads
Return Policy
Contact Us
Links
Login required to post messages or search forums!
Product Support
WinFormResizer for .NET 1.1 Support
HOWTO: Resize a...
HOWTO: Resize a Background Image
Support
71 posts
Joined
4/29/2006
HOWTO: Resize a Background Image
Posted: 01 Jul 06 10:39 AM
WinFormResizer for .NET® 1.1 is side-by-side compatible with WinFormResizer for .NET® 2.0.
This means that the code to resize a Windows Form in .NET 1.1 using WinFormResizer for .NET 1.1 can be used to resize the same Windows Form when compiled against the .NET 2.0 Framework using WinFormResizer for .NET 2.0 without
ANY
changes.
WinFormResizer for .NET® 1.1 uses the "ExtendedBackground on winFormResizer1" -> "
ImageLayoutStyle
" property to determine how an image will be scaled at run time:
This property overrides the control's "BackgroundImage" property from being Tiled by default, unless "
ImageLayoutStyle
" is set to "
Framework
". In which case, the control’s background image is drawn Tiled without any scaling applied.
For example, to Center and Scale a control's background image while resizing at run time set the "
ImageLayoutStyle
" property to "
CenterAndScale
":
Page 1 of 1
Product Support
WinFormResizer for .NET 1.1 Support
HOWTO: Resize a...
Flat View
Tree View
Oldest To Newest
Newest To Oldest
Copyright © 2006-2008 Fengari Software. All rights reserved.
|
Privacy Statement
|
Terms Of Use