Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 2.14 KB

storagefolder_getscaledimageasthumbnailasync_117544848.md

File metadata and controls

37 lines (25 loc) · 2.14 KB
-api-id -api-type
M:Windows.Storage.StorageFolder.GetScaledImageAsThumbnailAsync(Windows.Storage.FileProperties.ThumbnailMode,System.UInt32,Windows.Storage.FileProperties.ThumbnailOptions)
winrt method

Windows.Storage.StorageFolder.GetScaledImageAsThumbnailAsync

-description

Gets a scaled image as a thumbnail, determined by the purpose of the thumbnail, the requested size, and the specified options

-parameters

-param mode

The enum value that describes the purpose of the thumbnail and determines how the thumbnail image is adjusted.

For guidance about choosing the best thumbnail mode, see Guidelines and checklist for thumbnails.

-param requestedSize

The requested size, in pixels, of the longest edge of the thumbnail. Windows uses the requestedSize as a guide and tries to scale the thumbnail image without reducing the quality of the image.

If Windows can't find a thumbnail image that it can scale to meet the requested size, a larger thumbnail might be returned. If no larger thumbnail is available, a thumbnail image that is smaller than the requested size might be returned.

-param options

The enum value that describes the desired behavior to use to retrieve the thumbnail image. The specified behavior might affect the size and/or quality of the image and how quickly the thumbnail image is retrieved.

-returns

When this method completes successfully, it returns a StorageItemThumbnail that represents the thumbnail image or null if there is no thumbnail image associated with the item.

-remarks

-examples

-see-also

GetScaledImageAsThumbnailAsync(ThumbnailMode), GetScaledImageAsThumbnailAsync(ThumbnailMode, UInt32)