Modifica

Condividi tramite


ALAsset.Thumbnail Property

Definition

Returns the thumbnail for the asset.

public virtual CoreGraphics.CGImage Thumbnail { [Foundation.Export("thumbnail")] get; }
member this.Thumbnail : CoreGraphics.CGImage

Property Value

Attributes

Remarks

This returns a square thumbnail image representing the asset. The image will be rendered in the correct orientation, so it is not necessary to apply any rotation on the returned image.

Starting with iOS 5, you can also use AspectRatioThumbnail() property to get a thumbnail that preserves the original aspect ratio of the image, instead of the square/cropped version returned by this property.

Applies to