FileInformation.GetThumbnailAsync Metodo

Definizione

Overload

GetThumbnailAsync(ThumbnailMode)

Recupera l'anteprima associata a StorageFile.

GetThumbnailAsync(ThumbnailMode, UInt32)

Recupera l'anteprima associata a StorageFile, ridimensionandola in base alle dimensioni specificate.

GetThumbnailAsync(ThumbnailMode, UInt32, ThumbnailOptions)

Recupera l'anteprima associata a StorageFile, in base alle opzioni specificate.

GetThumbnailAsync(ThumbnailMode)

Recupera l'anteprima associata a StorageFile.

public:
 virtual IAsyncOperation<StorageItemThumbnail ^> ^ GetThumbnailAsync(ThumbnailMode mode) = GetThumbnailAsync;
/// [Windows.Foundation.Metadata.Overload("GetThumbnailAsyncOverloadDefaultSizeDefaultOptions")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<StorageItemThumbnail> GetThumbnailAsync(ThumbnailMode const& mode);
[Windows.Foundation.Metadata.Overload("GetThumbnailAsyncOverloadDefaultSizeDefaultOptions")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<StorageItemThumbnail> GetThumbnailAsync(ThumbnailMode mode);
function getThumbnailAsync(mode)
Public Function GetThumbnailAsync (mode As ThumbnailMode) As IAsyncOperation(Of StorageItemThumbnail)

Parametri

mode
ThumbnailMode

Modalità di anteprima da recuperare.

Restituisce

Al termine di questo metodo, restituisce l'immagine di anteprima come oggetto StorageItemThumbnail .

Implementazioni

Attributi

Vedi anche

Si applica a

GetThumbnailAsync(ThumbnailMode, UInt32)

Recupera l'anteprima associata a StorageFile, ridimensionandola in base alle dimensioni specificate.

public:
 virtual IAsyncOperation<StorageItemThumbnail ^> ^ GetThumbnailAsync(ThumbnailMode mode, unsigned int requestedSize) = GetThumbnailAsync;
/// [Windows.Foundation.Metadata.Overload("GetThumbnailAsyncOverloadDefaultOptions")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<StorageItemThumbnail> GetThumbnailAsync(ThumbnailMode const& mode, uint32_t const& requestedSize);
[Windows.Foundation.Metadata.Overload("GetThumbnailAsyncOverloadDefaultOptions")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<StorageItemThumbnail> GetThumbnailAsync(ThumbnailMode mode, uint requestedSize);
function getThumbnailAsync(mode, requestedSize)
Public Function GetThumbnailAsync (mode As ThumbnailMode, requestedSize As UInteger) As IAsyncOperation(Of StorageItemThumbnail)

Parametri

mode
ThumbnailMode

Modalità di anteprima da recuperare.

requestedSize
UInt32

unsigned int

uint32_t

Dimensione richiesta in pixel di anteprima da recuperare.

Restituisce

Al termine di questo metodo, restituisce l'immagine di anteprima come oggetto StorageItemThumbnail .

Implementazioni

M:Windows.Storage.IStorageItemProperties.GetThumbnailAsync(Windows.Storage.FileProperties.ThumbnailMode,System.UInt32) M:Windows.Storage.IStorageItemProperties.GetThumbnailAsync(Windows.Storage.FileProperties.ThumbnailMode,unsigned int) M:Windows.Storage.IStorageItemProperties.GetThumbnailAsync(Windows.Storage.FileProperties.ThumbnailMode,uint32_t)
Attributi

Vedi anche

Si applica a

GetThumbnailAsync(ThumbnailMode, UInt32, ThumbnailOptions)

Recupera l'anteprima associata a StorageFile, in base alle opzioni specificate.

public:
 virtual IAsyncOperation<StorageItemThumbnail ^> ^ GetThumbnailAsync(ThumbnailMode mode, unsigned int requestedSize, ThumbnailOptions options) = GetThumbnailAsync;
/// [Windows.Foundation.Metadata.Overload("GetThumbnailAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<StorageItemThumbnail> GetThumbnailAsync(ThumbnailMode const& mode, uint32_t const& requestedSize, ThumbnailOptions const& options);
[Windows.Foundation.Metadata.Overload("GetThumbnailAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<StorageItemThumbnail> GetThumbnailAsync(ThumbnailMode mode, uint requestedSize, ThumbnailOptions options);
function getThumbnailAsync(mode, requestedSize, options)
Public Function GetThumbnailAsync (mode As ThumbnailMode, requestedSize As UInteger, options As ThumbnailOptions) As IAsyncOperation(Of StorageItemThumbnail)

Parametri

mode
ThumbnailMode

Modalità di anteprima da recuperare.

requestedSize
UInt32

unsigned int

uint32_t

Dimensione richiesta in pixel di anteprima da recuperare.

options
ThumbnailOptions

Opzioni di recupero dell'anteprima.

Restituisce

Al termine di questo metodo, restituisce l'immagine di anteprima come oggetto StorageItemThumbnail .

Implementazioni

M:Windows.Storage.IStorageItemProperties.GetThumbnailAsync(Windows.Storage.FileProperties.ThumbnailMode,System.UInt32,Windows.Storage.FileProperties.ThumbnailOptions) M:Windows.Storage.IStorageItemProperties.GetThumbnailAsync(Windows.Storage.FileProperties.ThumbnailMode,unsigned int,Windows.Storage.FileProperties.ThumbnailOptions) M:Windows.Storage.IStorageItemProperties.GetThumbnailAsync(Windows.Storage.FileProperties.ThumbnailMode,uint32_t,Windows.Storage.FileProperties.ThumbnailOptions)
Attributi

Vedi anche

Si applica a