Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
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);
}

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

Refer to CloudsCommandBitmapEffect example.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also