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





Gets or sets an array of integers that represent wave values.

Syntax

Visual Basic (Declaration) 
Public Property Amplitudes As Integer()
Visual Basic (Usage)Copy Code
Dim instance As FreeHandWaveCommandBitmapEffect
Dim value() As Integer
 
instance.Amplitudes = value
 
value = instance.Amplitudes
C# 
public int[] Amplitudes {get; set;}
C++/CLI 
public:
property array<int>^ Amplitudes {
   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 Amplitudes =int >

Dependencies Property Information 

Identifier field

AmplitudesProperty

Metadata properties set to true

None

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

<object Amplitudes =int >

Dependencies Property Information 

Identifier field

AmplitudesProperty

Metadata properties set to true

None

Return Value

Array of integers that represent wave values. The real value of the array elements is divided by 1000, and the valid value of each element in the array is between –1000 and 1000. These values are generally obtained from the Leadtools.ImageProcessing.Effects.EffectsUtilities.GetCurvePoints utility method. They may also be obtained through the FreeHandWave Dialog.

Example

For XAML example, refer to FreeHandWaveCommandBitmapEffect.

For C#/VB examples, refer to FreeHandWaveCommandBitmapEffect.

Requirements

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

See Also