Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
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);
}

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

Refer to PlasmaCommandBitmapEffect example.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also