Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.02.15
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;}
Managed Extensions for C++ 
public: __property int get_ShadowThreshold();
public: __property void set_ShadowThreshold( 
   int value
);
C++/CLI 
public:
property int ShadowThreshold {
   int get();
   void set (int value);
}
XAML Attributes Usage 

<object ShadowThreshold =int >

Dependency 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, and Windows Server 2003

See Also