FrameFilter.SetIntParameter Method

Sets an integer parameter.
Syntax:
[C#]
public void SetIntParameter( string name, int value );
Parameter Description
name

Name of the parameter to be set. To retrieve a list, containing the valid parameter names, use AvailableParameters.

value

New value of the parameter.

Example:

The following example shows how to set the parameters of the Rotate Flip Filter. Please not that the access to the parameters is enclosed in BeginParameterTransfer and EndParameterTransfer.

[C#]
filter.BeginParameterTransfer(); filter.SetIntParameter("Rotation Angle", 180); filter.SetBoolParameter("Flip H", false); filter.SetBoolParameter("Flip V", false); filter.EndParameterTransfer();
See also: FrameFilter, FrameFilter.GetIntParameter, FrameFilter.AvailableParameters

<< FrameFilter