Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.02.15
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;}
Managed Extensions for C++ 
public: __property int get_Shift();
public: __property void set_Shift( 
   int value
);
C++/CLI 
public:
property int Shift {
   int get();
   void set (int value);
}
XAML Attributes Usage 

<object Flags =PlasmaCommandBitmapEffectsFlags >

Dependency 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, and Windows Server 2003

See Also