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





Gets or sets a point structure that contains the coordinates of the origin, in pixels.

Syntax

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

<object Origin =Point >

Dependencies Property Information 

Identifier field

OriginProperty

Metadata properties set to true

None

XAML Attributes Usage 

<object Origin =Point >

Dependencies Property Information 

Identifier field

OriginProperty

Metadata properties set to true

None

Return Value

Point structure that contains the coordinates of the origin, in pixels. This property is used if the Flags property is set to FunctionalLightCommandBitmapEffectsFlags.Trigonometry and FunctionalLightCommandBitmapEffectsFlags.Circles, or to FunctionalLightCommandBitmapEffectsFlags.LinearQuadratic.

Example

For XAML example, refer to FunctionalLightCommandBitmapEffect.

For C#/VB examples, refer to FunctionalLightCommandBitmapEffect.

Requirements

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

See Also