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 7Visual Basic (Declaration) | |
---|---|
Public Property Tension As Double |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As AnnClosedCurveObject Dim value As Double instance.Tension = value value = instance.Tension |
C# | |
---|---|
public double Tension {get; set;} |
Property Value
A value that specifies the amount that this AnnClosedCurveObject curve bends between control points.For XAML example, refer to AnnClosedCurveObject.
For C#/VB examples, refer to AnnClosedCurveObject.
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: ![](TensiondotNET.jpg)
![](TensiondotNET.jpg)
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)