Sdílet prostřednictvím


Picture.Width Property

Gets the picture's width.

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

Syntax

public int Width { get; }

Property Value

Width of this picture, in pixels.

See Also

Reference

Picture.Height Property
Picture Class
Picture Members
Microsoft.Xna.Framework.Media Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone