Skip to content

Latest commit

 

History

History
42 lines (24 loc) · 1.4 KB

thumbnailoptions.md

File metadata and controls

42 lines (24 loc) · 1.4 KB
-api-id -api-type
T:Windows.Storage.FileProperties.ThumbnailOptions
winrt enum

ThumbnailOptions

-description

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.

-enum-fields

-field None:0

No options.

-field ReturnOnlyIfCached:1

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

-field ResizeThumbnail:2

Scale the thumbnail to the requested size.

-field UseCurrentScale:4

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

-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.

-examples

-see-also

storageItemThumbnail class, ThumbnailMode enum, Windows.Storage.storageFile.getThumbnailAsync(mode, requestedSize, options) method