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



Gets or sets a value that specifies the amount that this AnnClosedCurveObject curve bends between control points.

Syntax

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

Return Value

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

Example

For an example, 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: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features