Export (0) Print
Expand All

Picture.GetThumbnail Method

Gets a thumbnail of the picture as a texture.

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

public Texture2D GetThumbnail (
         IServiceProvider serviceProvider
)

Parameters

serviceProvider
Game service provider, obtained from the Game.Services property.

Return Value

Texture with a thumbnail of the picture's graphical content.

GameServiceContainer Class implements IServiceProvider, so you can pass the value of the Game.Services property as the serviceProvider parameter.

Xbox 360, Windows XP SP2, Windows Vista, Zune

Community Additions

ADD
Show:
© 2014 Microsoft