Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
Tension Property
See Also 
Leadtools Namespace > RasterCurve Class : Tension Property




Gets or sets a value that indicates how straight to make the curves that connect points.

Syntax

Visual Basic (Declaration) 
Public Property Tension As Double
Visual Basic (Usage)Copy Code
Dim instance As RasterCurve
Dim value As Double
 
instance.Tension = value
 
value = instance.Tension
C# 
public double Tension {get; set;}
Managed Extensions for C++ 
public: __property double get_Tension();
public: __property void set_Tension( 
   double value
);
C++/CLI 
public:
property double Tension {
   double get();
   void set (double value);
}

Return Value

An Double value that indicates how straight to make the curves that connect points. Valid values are between 0.0 and 1.0.

Example

For an example, refer to RasterCurve.

Remarks

This value is used only when Type is RasterCurveType.Standard. 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 for dTension is 0.5.

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