Thumbnail​Options Thumbnail​Options Thumbnail​Options Enum

Definition

Describes the behavior used to retrieve and adjust thumbnails, including the size and quality of the image and how quickly the thumbnail image is retrieved.

public enum ThumbnailOptionspublic enum ThumbnailOptionsPublic Enum ThumbnailOptions
Attributes
System.FlagsAttribute ContractVersionAttribute
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

This enumeration is used when you get a thumbnail image by calling one of the getThumbnailAsync method overloads like storageFile.getThumbnailAsync(mode, requestedSize, options). The thumbnail image that is returned is represented by a storageItemThumbnail object.

Fields

None None None

No options.

ResizeThumbnail ResizeThumbnail ResizeThumbnail

Scale the thumbnail to the requested size.

ReturnOnlyIfCached ReturnOnlyIfCached ReturnOnlyIfCached

Retrieve a thumbnail only if it is cached or embedded in the file.

UseCurrentScale UseCurrentScale UseCurrentScale

Default. Increase requested size based on the Pixels Per Inch (PPI) of the display.