Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - LEADTOOLS WPF | Help Version 16.5.9.25
ShadowThreshold Property
See Also 
Leadtools.Windows.Media.Effects.SpecialEffects Namespace > MosaicTilesCommandBitmapEffect Class : ShadowThreshold Property





Gets or sets the value that determines which pixels will be affected by the shadow.

Syntax

Visual Basic (Declaration) 
Public Property ShadowThreshold As Integer
Visual Basic (Usage)Copy Code
Dim instance As MosaicTilesCommandBitmapEffect
Dim value As Integer
 
instance.ShadowThreshold = value
 
value = instance.ShadowThreshold
C# 
public int ShadowThreshold {get; set;}
C++/CLI 
public:
property int ShadowThreshold {
   int get();
   void set (int value);
}
XAML Attributes Usage 

<object ShadowThreshold =int >

Dependencies Property Information 

Identifier field

ShadowThresholdProperty

Metadata properties set to true

None

XAML Attributes Usage 

<object ShadowThreshold =int >

Dependencies Property Information 

Identifier field

ShadowThresholdProperty

Metadata properties set to true

None

Return Value

Value that determines which pixels will be affected by the shadow. Possible values range from 0 through 255. Pixel values less than the threshold value will be unaffected. This property will be used if the MosaicTilesCommandBitmapEffectsFlags.ShadowRGB flag or the MosaicTilesCommandBitmapEffectsFlags.ShadowGray flag is set.

Example

For XAML example, refer to MosaicTilesCommandBitmapEffect.

For C#/VB examples, refer to MosaicTilesCommandBitmapEffect.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, Windows Server 2008 family

See Also