Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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;}
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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also