AVVideoScalingMode 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.
Specifies how video should be scaled to fit a given area.
public enum AVVideoScalingMode
type AVVideoScalingMode =
- Inheritance
-
AVVideoScalingMode
Fields
Name | Value | Description |
---|---|---|
Fit | 0 | Crop to remove edge processing region. |
Resize | 1 | Crop to remove edge processing region and scales remaining area to fit destination area. |
ResizeAspect | 2 | Preserves aspect ratio of the source and fills remaining areas with black to fit destination dimensions. |
ResizeAspectFill | 3 | Preserves aspect ratio of the source and crops picture to fit destination dimensions. |