Share via


ImageFrame.Width Property

Kinect for Windows 1.5, 1.6, 1.7, 1.8

Gets the width (in pixels) of this ImageFrame.

Syntax

public int Width { get; }
'Declaration
Public ReadOnly Property Width As Integer 

Property Value

Type: Int32
The width of the data buffer.

Remarks

The data buffer contains one frame of pixel data whose size is: width x height x number of bytes per pixel.

Requirements

Namespace: Microsoft.Kinect

Assembly: Microsoft.Kinect (in microsoft.kinect.dll)

See Also

Reference

ImageFrame Class
ImageFrame Members
Microsoft.Kinect Namespace