Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
This property is available only when developing for Windows.
Gets or sets the width, in pixels, of a texture.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public int Width { get; set; }
Property Value
The width, in pixels, of the texture.
See Also
Reference
TextureInformation Structure
TextureInformation Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Windows XP SP2, Windows Vista