Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - LEADTOOLS WPF | Help Version 16.5.9.25
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;}
C++/CLI 
public:
property bool UniDirection {
   bool get();
   void set (bool value);
}
XAML Attributes Usage 

<object UniDirection =bool >

Dependencies Property Information 

Identifier field

UniDirectionProperty

Metadata properties set to true

None

XAML Attributes Usage 

<object UniDirection =bool >

Dependencies 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, Windows Server 2008 family

See Also