PHImageContentMode 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.
Enumerates values that control how images are displayed.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public enum PHImageContentMode
type PHImageContentMode =
- Inheritance
-
PHImageContentMode
- Attributes
Fields
Name | Value | Description |
---|---|---|
AspectFit | 0 | Scales the image to fill the target area and crops any excess. |
Default | 0 | The image is neither scaled nor cropped. |
AspectFill | 1 | Scales the image so that one dimension completely fills the target area in one direction. The other dimension may be padded, and the entire image will be visible. |