Share via


FrameDescription.BytesPerPixel Property

Gets the bytes per pixel of the data for an image frame.

Syntax

public:
property uint32 BytesPerPixel {
         uint32 get ();
}
public uint BytesPerPixel { get; }
var bytesPerPixel = frameDescription.bytesPerPixel;

Property value

[C++] 
[C#] 
[JavaScript] 

Type: uint32
Type: uint
Type: Number

 

The bytes per pixel of the data for an image frame.

Requirements

Namespace: WindowsPreview.Kinect

Metadata: windowspreview.kinect.winmd

See also

Reference

FrameDescription Class
WindowsPreview.Kinect Namespace