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





Gets or sets the camera distance from the viewing screen.

Syntax

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

<object Distance =int >

Dependencies Property Information 

Identifier field

DistanceProperty

Metadata properties set to true

None

XAML Attributes Usage 

<object Distance =int >

Dependencies 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 TunnelCommandBitmapEffect.

For C#/VB examples, refer to TunnelCommandBitmapEffect.

Requirements

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

See Also