Leadtools.Windows.Annotations Requires Document/Medical license. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Tension Property
See Also 
Leadtools.Windows.Annotations Namespace > AnnCurveObject Class : Tension Property





Gets or sets a value that specifies the amount that this AnnCurveObject curve bends between control points. This is a dependency property.

Syntax

Visual Basic (Declaration) 
Public Property Tension As Double
Visual Basic (Usage)Copy Code
Dim instance As AnnCurveObject
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);
}
XAML Attributes Usage 

<object Tension=double .../>

Dependencies Property Information 

Identifier field

TensionProperty

Metadata properties set to true

AffectsMeasure, AffectsRender

XAML Attributes Usage 

<object Tension=double .../>

Dependencies Property Information 

Identifier field

TensionProperty

Metadata properties set to true

AffectsMeasure, AffectsRender

Return Value

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

Example

For XAML example, refer to AnnCurveObject.

For C#/VB examples, refer to AnnCurveObject.

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: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

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.