ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 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.

In This Topic
    ComputeLength(Single) Method
    In This Topic
    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