Share via


Stretch Enumeration

Specifies how an image is sized within its layout area on a hardware display device.

Namespace: Microsoft.SPOT.Presentation.Media
Assembly: Microsoft.SPOT.TinyCore (in microsoft.spot.tinycore.dll)

Syntax

public enum Stretch

Members

  Member name Description
Fill A value specifying that the image is resized such that it completely fills the layout area. When you use this member, the aspect ratio of the image is not preserved.
None A value specifying that the image is not resized (that is, its original size is preserved).

Version Information

Available in the .NET Micro Framework versions 3.0, 4.0, 4.1 and 4.2.

See Also

Reference

Microsoft.SPOT.Presentation.Media Namespace