Stretch Enumeration
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
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
'Declaration
Public Enumeration Stretch
public enum Stretch
public enum class Stretch
type Stretch
public enum Stretch
Members
Member name | Description | |
---|---|---|
None | A value specifying that the image is not resized (that is, its original size is preserved). | |
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. |