エクスポート (0) 印刷
すべて展開
EN
このコンテンツは設定された言語で表示できません。英語版のページが表示されます。

MediaLibraryExtensions.GetPreviewImage Method

Gets a thumbnail image of the specified Picture that has the same dimensions as the phone's screen.

[ExtensionAttribute]
public static Stream GetPreviewImage (
         Picture picture
)

Parameters

picture
Type: Picture
The picture for which a screen-sized thumbnail image Stream is returned.

Return Value

Type: Stream
The requested screen-sized thumbnail image.

For each picture saved on the phone, the following two thumbnail images are automatically created and can be retrieved by your apps.

  • A small thumbnail image. You can retrieve this thumbnail with the GetThumbnail method of the Picture class.
  • A preview image that has the same dimensions as the phone's screen. You can retrieve this preview image with the GetPreviewImage extension method of the Picture class.

Namespace: Microsoft.Xna.Framework.Media.PhoneExtensions
Assembly: Microsoft.Xna.Framework.Media.PhoneExtensions (in microsoft.xna.framework.media.phoneextensions.dll)

Windows Phone

コミュニティの追加

追加
表示:
© 2015 Microsoft