Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.02.15
EdgeCoefficient Property
See Also 
Leadtools.Windows.Media.Effects.Core Namespace > MultiscaleEnhancementCommandBitmapEffect Class : EdgeCoefficient Property





Gets or sets the edge enhancement coefficient.

Syntax

Visual Basic (Declaration) 
Public Property EdgeCoefficient As Integer
Visual Basic (Usage)Copy Code
Dim instance As MultiscaleEnhancementCommandBitmapEffect
Dim value As Integer
 
instance.EdgeCoefficient = value
 
value = instance.EdgeCoefficient
C# 
public int EdgeCoefficient {get; set;}
Managed Extensions for C++ 
public: __property int get_EdgeCoefficient();
public: __property void set_EdgeCoefficient( 
   int value
);
C++/CLI 
public:
property int EdgeCoefficient {
   int get();
   void set (int value);
}
XAML Attributes Usage 

<object EdgeCoefficient =int >

Dependency Property Information 

Identifier field

EdgeCoefficientProperty

Metadata properties set to true

None

Return Value

The edge enhancement coefficient. This value will be internally divided by 100. Pass -1 to use the default values (which is 170 interpreted as 1.7). This option will be used only if EdgeEnhancment is set in the Flags property. Any value (>= 0) is valid. A value of 100 will be interpreted as 1.0 and will keep the image’s edges un-enhanced. Larger values will produce more visible edges. Smaller values will produce less visible edges. Practically, the enhancement levels out at 200000 (interpreted as 2000.0) – values bigger than that will not enhance the image’s edges any more.

Example

For XAML example, refer to MultiscaleEnhancementCommandBitmapEffect.

For C#/VB examples, refer to MultiscaleEnhancementCommandBitmapEffect.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003

See Also