Aspect Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines how an image is displayed.
public enum class Aspect
public enum Aspect
type Aspect =
Public Enum Aspect
- Inheritance
-
Aspect
Fields
Name | Value | Description |
---|---|---|
AspectFit | 0 | Scale the image to fit the view. Some parts may be left empty (letter boxing). |
AspectFill | 1 | Scale the image to fill the view. Some parts may be clipped in order to fill the view. |
Fill | 2 | Scale the image so it exactly fills the view. Scaling may not be uniform in X and Y. |
Center | 3 |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.