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





Gets or sets the camera distance from the viewing screen, in pixels.

Syntax

Visual Basic (Declaration) 
Public Property Distance As Integer
Visual Basic (Usage)Copy Code
Dim instance As PlaneCommandBitmapEffect
Dim value As Integer
 
instance.Distance = value
 
value = instance.Distance
C# 
public int Distance {get; set;}
Managed Extensions for C++ 
public: __property int get_Distance();
public: __property void set_Distance( 
   int value
);
C++/CLI 
public:
property int Distance {
   int get();
   void set (int value);
}
XAML Attributes Usage 

<object Distance =int >

Dependency Property Information 

Identifier field

DistanceProperty

Metadata properties set to true

None

Return Value

Camera distance from the viewing screen, in pixels.

Example

For XAML example, refer to PlaneBendCommandBitmapEffect.

For C#/VB examples, refer to PlaneBendCommandBitmapEffect.

Requirements

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

See Also