Share via


Aspect Enum

Definition

Defines how an image is displayed.

public enum Aspect
type Aspect = 
Inheritance
System.Enum
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.

Applies to