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





Gets or sets the amount of color-shift in plasma color pattern.

Syntax

Visual Basic (Declaration) 
Public Property Shift As Integer
Visual Basic (Usage)Copy Code
Dim instance As PlasmaCommandBitmapEffect
Dim value As Integer
 
instance.Shift = value
 
value = instance.Shift
C# 
public int Shift {get; set;}
C++/CLI 
public:
property int Shift {
   int get();
   void set (int value);
}
XAML Attributes Usage 

<object Flags =PlasmaCommandBitmapEffectsFlags >

Dependencies Property Information 

Identifier field

FlagsProperty

Metadata properties set to true

None

XAML Attributes Usage 

<object Flags =PlasmaCommandBitmapEffectsFlags >

Dependencies Property Information 

Identifier field

FlagsProperty

Metadata properties set to true

None

Return Value

The amount of color shift in the plasma color pattern. Valid range for the 16, 48, and 64-bit images is from 0 to 65535 and for 12-bit images from 0 to 4095. Otherwise, it is from 0 to 255. A value of 0 means there is no color shift.

Example

For XAML example, refer to PlasmaCommandBitmapEffect.

For C#/VB examples, refer to PlasmaCommandBitmapEffect.

Requirements

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

See Also