共用方式為


BitmapContent.Width Property

Note

This property is available only when developing for Windows.

Gets or sets the width of the bitmap, in pixels.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

Syntax

public int Width { get; set; }

Property Value

Width of the bitmap.

See Also

Reference

BitmapContent Class
BitmapContent Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace

Platforms

Windows 7, Windows Vista, Windows XP