PHImageContentMode Enum

Definition

Enumerates values that control how images are displayed.

[ObjCRuntime.Native]
public enum PHImageContentMode
[<ObjCRuntime.Native>]
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.

Applies to