FrameHandlerSink.FrameTypes Property

The FrameTypes collections allows the specification of valid image formats for the ImageBuffer collection.
Syntax:
[C#]
public FrameTypes FrameTypes;
Limitations:

Read only.

Example:

The following example shows how to setup a FrameHandlerSink that only accepts the 8-bit-gray image formats Y800 and RGB8.

[C#]
FrameHandlerSink fhs = new FrameHandlerSink(); fhs.FrameTypes.Add(new FrameType(MediaSubtypes.Y800)); ICImagingControl1.Sink = fhs; ICImagingControl1.LiveStart();
See also: FrameHandlerSink, FrameTypes

<< FrameHandlerSink