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

<object Origin =Point >

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

See Also