Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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


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

© 2017 Microsoft