ICImagingControl.FrameFilterCreate Method [Deprecated]

Creates a new instance of a FrameFilter from a FrameFilterInfo.
Syntax:
[C#]
public FrameFilter FrameFilterCreate( FrameFilterInfo Info ); public FrameFilter FrameFilterCreate( string FilterName ); public FrameFilter FrameFilterCreate( string FilterName, string ModuleName );
Name Description
Info

The FrameFilterInfo object describing the frame filter to be created.

FilterName

Name of the frame filter to be created.

ModuleName

Filter module from which the frame filter is loaded. Can be omitted.

Information:

Introduced in version 3.0
This method is deprecated since version 3.5.
Use FrameFilter.Create

Example:

The following example shows how to create a FrameFilter instance from a FrameFilterInfo object:

[C#]
// Retrieve the first FrameFilterInfo object. FrameFilterInfo info = ICImagingControl1.FrameFilterInfos[0]; // Create the frame filter to which the info object refers. FrameFilter filter = ICImagingControl1.FrameFilterCreate(info); // Set the frame filter as the device frame filter. ICImagingControl1.DeviceFrameFilters.Add(filter); // Start live mode. ICImagingControl1.LiveStart();

The frame filter is set as a device frame filter.

See also: ICImagingControl, ICImagingControl.FrameFilterInfos, FrameFilter, FrameFilterInfos, FrameFilterInfo

<< ICImagingControl