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

<object Density =int >

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

See Also