Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.02.15
UniDirection Property
See Also 
Leadtools.Windows.Media.Effects.Effects Namespace > MotionBlurCommandBitmapEffect Class : UniDirection Property





Gets or sets a flag that indicates whether the motion extends only in one direction.

Syntax

Visual Basic (Declaration) 
Public Property UniDirection As Boolean
Visual Basic (Usage)Copy Code
Dim instance As MotionBlurCommandBitmapEffect
Dim value As Boolean
 
instance.UniDirection = value
 
value = instance.UniDirection
C# 
public bool UniDirection {get; set;}
Managed Extensions for C++ 
public: __property bool get_UniDirection();
public: __property void set_UniDirection( 
   bool value
);
C++/CLI 
public:
property bool UniDirection {
   bool get();
   void set (bool value);
}
XAML Attributes Usage 

<object UniDirection =bool >

Dependency Property Information 

Identifier field

UniDirectionProperty

Metadata properties set to true

None

Return Value

Flag that indicates whether the motion extends only in one direction. Possible values are:

ValueMeaning
trueThe motion blur effect is only in the direction specified in the Angle property.
falseThe motion blur effect is along the line with that angle. For example, if the Angle property is 0, the blur effect will occur in the 0 degree direction and the 180 degree direction.

Example

For XAML example, refer to MotionBlurCommandBitmapEffect.

For C#/VB examples, refer to MotionBlurCommandBitmapEffect.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003

See Also