Share via


ColorImageStream.Enable Method (ColorImageFormat)

Kinect for Windows 1.5, 1.6, 1.7, 1.8

Enables the color data stream with a specified format.

Syntax

public void Enable (
         ColorImageFormat format
)
'Declaration
Public Sub Enable ( _
         format As ColorImageFormat _
)

Parameters

  • format
    Type: ColorImageFormat
    Specified data format, framerate, and resolution.

Remarks

Use ColorImageStream.Enable to stream out color data using the default format, which is ColorImageFormat.RgbResolution640x480Fps30.

For an example, see Enable Data Streaming.

Requirements

Namespace: Microsoft.Kinect

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

See Also

Reference

ColorImageStream Class
ColorImageStream Members
Microsoft.Kinect Namespace