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




Gets or sets a value that indicates the weighting factor.

Syntax

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

Return Value

Value that indicates the weighting factor. Iif this property is true, then the pixel intensity value (color) will be used as a weighting factor. If this property set to false, then all non-zero pixels will have the same weight.

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