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




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;}
Managed Extensions for C++ 
public: __property virtual float get_Tension();
public: __property virtual void set_Tension( 
   float value
);
C++/CLI 
public:
virtual property float Tension {
   float get();
   void set (float value);
}

Return 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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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