LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
Tension Property
See Also 
Leadtools.Windows.Annotations Namespace > AnnClosedCurveObject Class : Tension Property



The Tension Property supports WPF/Silverlight.

The Tension Property is available in LEADTOOLS Document and Medical Imaging toolkits.

Gets or sets a value that specifies the amount that this AnnClosedCurveObject curve bends between control points. This is a dependency property.Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Property Tension As Double
Visual Basic (Usage)Copy Code
Dim instance As AnnClosedCurveObject
Dim value As Double
 
instance.Tension = value
 
value = instance.Tension
C# 
public double Tension {get; set;}
C++/CLI 
public:
property double Tension {
   double get();
   void set (    double value);
}

Property Value

A value that specifies the amount that this AnnClosedCurveObject curve bends between control points.

Example

For XAML example, refer to AnnClosedCurveObject.

For C#/VB examples, refer to AnnClosedCurveObject.

Remarks

Valid values are between 0.0 and 1.0, where 0.0 indicates straight lines, and 1.0 indicates lines with the highest curvature. A typical value is 0.5. These values for Tension for a Closed Curve object are shown in the following bitmap:

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

Tension requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.