conaito Powerlight SDK 1.2

ImageStretch Enumeration

Describes how content is resized to fill its allocated space.

[Visual Basic]
Public Enum ImageStretch
[C#]
public enum ImageStretch

Members

Member Name Description
None The content preserves its original size.
Fill The content is resized to fill the destination dimensions. The aspect ratio is not preserved.
Uniform The content is resized to fit in the destination dimensions while it preserves its native aspect ratio.
UniformToFill The 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

Namespace: Conaito.PowerLight

Assembly: Conaito.PowerLight (in Conaito.PowerLight.dll)

See Also

Conaito.PowerLight Namespace