Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - LEADTOOLS WPF | Help Version 16.5.9.25
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;}
C++/CLI 
public:
property int EdgeCoefficient {
   int get();
   void set (int value);
}
XAML Attributes Usage 

<object EdgeCoefficient =int >

Dependencies Property Information 

Identifier field

EdgeCoefficientProperty

Metadata properties set to true

None

XAML Attributes Usage 

<object EdgeCoefficient =int >

Dependencies 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, Windows Server 2008 family

See Also