Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.02.15
PitsDensity Property
See Also 
Leadtools.Windows.Media.Effects.SpecialEffects Namespace > AgingCommandBitmapEffect Class : PitsDensity Property





Gets or sets a value that represents the density of the pits, expressed in tenths of a percent of the image area.

Syntax

Visual Basic (Declaration) 
Public Property PitsDensity As Integer
Visual Basic (Usage)Copy Code
Dim instance As AgingCommandBitmapEffect
Dim value As Integer
 
instance.PitsDensity = value
 
value = instance.PitsDensity
C# 
public int PitsDensity {get; set;}
Managed Extensions for C++ 
public: __property int get_PitsDensity();
public: __property void set_PitsDensity( 
   int value
);
C++/CLI 
public:
property int PitsDensity {
   int get();
   void set (int value);
}
XAML Attributes Usage 

<object PitsDensity =int >

Dependency Property Information 

Identifier field

PitsDensityProperty

Metadata properties set to true

None

Return Value

Density of the pits, expressed in tenths of a percent of the image area. Valid values range between 0 and 1000. This value is divided internally by 10. If this property = 1000 then the density of the pits = 100% (that is, the number of pits = the entire image area.)

Example

For XAML example, refer to AgingCommandBitmapEffect.

For C#/VB examples, refer to AgingCommandBitmapEffect.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003

See Also