FrameType.FourCC Property

Returns the FourCC pixel format of the frametype as string.
Syntax:
[C#]
public string FourCC;
Limitations:

Read only.

Information:

Introduced in version 3.1

Sample:

This example shows how to get the the current frametype using the FourCC property:

[C#]
TIS.Imaging.FrameHandlerSink Sink = new TIS.Imaging.FrameHandlerSink(); Sink.FrameTypes.Add(new TIS.Imaging.FrameType("Y800")); Sink.FrameTypes.Add(new TIS.Imaging.FrameType("RGB24")); ICImagingControl1.Sink = Sink; ICImagingControl1.LiveStart(); if( Sink.FrameType != null ) { Console.WriteLine("FourCC : " + Sink.FrameType.FourCC); } else { // Should not happen after LiveStart() has been called. Console.WriteLine("FourCC : FrameType is null."); } ICImagingControl1.LiveStop();
See also: FrameHandlerSink.FrameType, ICImagingControl, FrameType

<< FrameHandlerSink.FrameType