ComponentOne Bitmap for WPF
C1.WPF.DX.4.6.2 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 Single _
    ) As Single
    public float ComputeLength( 
       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