LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Tension Property
See Also 
Leadtools.Annotations Namespace > AnnCurveObject Class : Tension Property



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

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

Syntax

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

Property Value

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

Example

For an example, 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 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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