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





Gets or sets an array that contains the new average pixel value for those pixels with values between 0 and the average pixel value for the entire image.

Syntax

Visual Basic (Declaration) 
Public Property LowerAverage As Integer()
Visual Basic (Usage)Copy Code
Dim instance As LightControlCommandBitmapEffect
Dim value() As Integer
 
instance.LowerAverage = value
 
value = instance.LowerAverage
C# 
public int[] LowerAverage {get; set;}
C++/CLI 
public:
property array<int>^ LowerAverage {
   array<int>^ get();
   void set (intarray<value>^ value);
}
XAML Syntax 
cannot be used in XAML directly.Instead use x:Array Markup Extension.
XAML Attributes Usage 

<object LowerAverage =in >

Dependencies Property Information 

Identifier field

LowerAverageProperty

Metadata properties set to true

None

XAML Syntax 
cannot be used in XAML directly.Instead use x:Array Markup Extension.
XAML Attributes Usage 

<object LowerAverage =in >

Dependencies Property Information 

Identifier field

LowerAverageProperty

Metadata properties set to true

None

Return Value

An array that contains the new average pixel value for those pixels with values between 0 and the average pixel value for the entire image. The size of the array equals one, if Type is LightControlCommandBitmapEffectsType.Yuv or LightControlCommandBitmapEffectsType.Gray, or three, if Type is LightControlCommandBitmapEffectsType.Rgb. If Type is LightControlCommandBitmapEffectsType.Rgb the first element corresponds to the new blue lower average value, the second element to the green, and the last element to the red.

Example

For XAML example, refer to LightControlCommandBitmapEffect.

For C#/VB examples, refer to LightControlCommandBitmapEffect.

Requirements

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

See Also