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





Gets or sets the value that indicates the detail in the cloud.

Syntax

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

<object Density =int >

Dependencies Property Information 

Identifier field

DensityProperty

Metadata properties set to true

None

XAML Attributes Usage 

<object Density =int >

Dependencies Property Information 

Identifier field

DensityProperty

Metadata properties set to true

None

Return Value

Value that indicates the detail in the cloud. Possible values range from 0 to 16. The value of 0 means no cloud texture will be created, while the value of 16 means the maximum detail of texture in the clouds. Use larger values to increase the detail in the clouds, smaller values for blurring.

Example

For XAML example, refer to CloudsCommandBitmapEffect.

For C#/VB examples, refer to CloudsCommandBitmapEffect.

Requirements

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

See Also