Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - LEADTOOLS WPF | Help Version 16.5.9.25
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;}
C++/CLI 
public:
property int PitsDensity {
   int get();
   void set (int value);
}
XAML Attributes Usage 

<object PitsDensity =int >

Dependencies Property Information 

Identifier field

PitsDensityProperty

Metadata properties set to true

None

XAML Attributes Usage 

<object PitsDensity =int >

Dependencies 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, Windows Server 2008 family

See Also