Leadtools.ImageProcessing.Core Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.10
OnOff Property
See Also 
Leadtools.ImageProcessing.Core Namespace > FrequencyFilterMaskCommand Class : OnOff Property




Gets or sets a value that indicates whether the frequency components are removed if the corresponding pixel value is zero.

Syntax

Visual Basic (Declaration) 
Public Property OnOff As Boolean
Visual Basic (Usage)Copy Code
Dim instance As FrequencyFilterMaskCommand
Dim value As Boolean
 
instance.OnOff = value
 
value = instance.OnOff
C# 
public bool OnOff {get; set;}
Managed Extensions for C++ 
public: __property bool get_OnOff();
public: __property void set_OnOff( 
   bool value
);
C++/CLI 
public:
property bool OnOff {
   bool get();
   void set (bool value);
}

Return Value

Value that indicates whether the frequency components are removed if the corresponding pixel value is zero. Possible values are:
ValueMeaning
trueIf the pixel value equals zero the frequency components in its location in the Data property of the FourierTransformInformation structure will be removed, otherwise no change. A component is "removed" when both members of the corresponding Complex structure are set to 0.
falseThe frequency component in the pixel location in the Data property of the FourierTransformInformation structure will be multiplied by the value of the pixel divided by 255.

Example

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also