Describes the purpose of the thumbnail to determine how to adjust the thumbnail image to retrieve.
Syntax
var value = Windows.Storage.FileProperties.ThumbnailMode.picturesView;
Attributes
- VersionAttribute(NTDDI_WIN8)
Members
The ThumbnailMode enumeration has these members.
| Member | Value | Description |
|---|---|---|
| PicturesView | picturesView | 0 |
To display previews of picture files.
|
| VideosView | videosView | 1 |
To display previews of video files.
|
| MusicView | musicView | 2 |
To display previews of music files.
|
| DocumentsView | documentsView | 3 |
To display previews of document files.
|
| ListView | listView | 4 |
To display previews of files (or other items) in a list.
|
| SingleItem | singleItem | 5 |
To display a preview of any single item (like a file, folder, or file group).
|
Remarks
Windows uses the default, preferred size as a guide to scale the thumbnail image without reducing the quality of the image. It does not guarantee the size of the thumbnail image that is retrieved.
Using thumbnail modes
Use this enum to determine the thumbnail image you get when you call one of the getThumbnailAsync methods. These methods return the thumbnail image as a storageItemThumbnail object.
For example, you can get a thumbnail image to preview a video file by calling storageFile.GetThumbnailAsync(ThumbnailMode) and specifying the videoView thumbnail mode.
To help you decide which mode you should use, see Guidelines and checklist for thumbnails.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Minimum supported phone | Windows Phone 8 |
|
Namespace |
|
|
Metadata |
|
See also
- Guidelines and checklist for thumbnails
- Reference
- storageItemThumbnail class
- ThumbnailOptions enum
- Windows.Storage.storageFile.getThumbnailAsync methods
Build date: 2/25/2013