Login required to post messages or search forums!

 

  Product Support  WinFormResizer for .NET 2.0 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 9:15 AM Modified By Support  on 7/1/2006 9:58:57 AM)
For side-by-side compatibility with WinFormResizer for .NET® 1.1, WinFormResizer for .NET® 2.0 uses the "ExtendedBackground on winFormResizer1" -> "ImageLayoutStyle" property to determine how an image will be scaled at run time:



This property overrides the control's "BackgroundImageLayout" property, unless "ImageLayoutStyle" is set to "Framework". In which case, the control’s background image is drawn according to its "BackgroundImageLayout" property 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":



  Product Support  WinFormResizer for .NET 2.0 Support  HOWTO: Resize a...
Copyright © 2006-2008 Fengari Software. All rights reserved.   |  Privacy Statement  |  Terms Of Use