ComponentOne Bitmap for UWP
ComputeLength(Single) Method

C1.UWP.DX Assembly > C1.Util.DX.Direct2D Namespace > Geometry Class > ComputeLength Method : ComputeLength(Single) Method
The maximum bounds on the distance between points in the polygonal approximation of the geometry. Smaller values produce more accurate results but cause slower execution.
Calculates the length of the geometry as though each segment were unrolled into a line.
Syntax
'Declaration
 
Public Overloads Function ComputeLength( _
   ByVal flatteningTolerance As System.Single _
) As System.Single
public System.float ComputeLength( 
   System.float flatteningTolerance
)

Parameters

flatteningTolerance
The maximum bounds on the distance between points in the polygonal approximation of the geometry. Smaller values produce more accurate results but cause slower execution.

Return Value

When this method returns, contains a reference to the length of the geometry. For closed geometries, the length includes an implicit closing segment. You must allocate storage for this parameter.
See Also

Reference

Geometry Class
Geometry Members
Overload List