Version

Stretch Enumeration

Gets or sets a value that describes how an Image should be stretched to fill the destination rectangle.
Syntax
'Declaration
 
Public Enum Stretch 
   Inherits System.Enum
public enum Stretch : System.Enum 
Members
MemberDescription
FillThe content is resized to fill the destination dimensions. The aspect ratio is not preserved.
NoneThe content preserves its original size.
UniformThe content is resized to fit in the destination dimensions while it preserves its native aspect ratio.
UniformToFillThe content is resized to fill the destination dimensions while it preserves its native aspect ratio. If the aspect ratio of the destination rectangle differs from the source, the source content is clipped to fit in the destination dimensions.
Requirements

Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

View on GitHub