# C1.Util.DX.Direct2D.PathGeometry1.ComputePointAndSegmentAtLength

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_Direct2D_PathGeometry1_ComputePointAndSegmentAtLength_" data-uid="C1.Util.DX.Direct2D.PathGeometry1.ComputePointAndSegmentAtLength*">ComputePointAndSegmentAtLength Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_Direct2D_PathGeometry1_ComputePointAndSegmentAtLength_" data-uid="C1.Util.DX.Direct2D.PathGeometry1.ComputePointAndSegmentAtLength*"></a>
<h4 id="C1_Util_DX_Direct2D_PathGeometry1_ComputePointAndSegmentAtLength_System_Single_System_Int32_System_Nullable_C1_Util_DX_Matrix3x2__System_Single_C1_Util_DX_Direct2D_PointDescription__" data-uid="C1.Util.DX.Direct2D.PathGeometry1.ComputePointAndSegmentAtLength(System.Single,System.Int32,System.Nullable{C1.Util.DX.Matrix3x2},System.Single,C1.Util.DX.Direct2D.PointDescription@)">ComputePointAndSegmentAtLength(float, int, Matrix3x2?, float, out PointDescription)</h4>
<div class="markdown level1 summary"><p>HRESULT ID2D1PathGeometry1::ComputePointAndSegmentAtLength([In] float length,[In] unsigned int startSegment,[In, Optional] const D2D_MATRIX_3X2_F* worldTransform,[In] float flatteningTolerance,[Out] D2D1_POINT_DESCRIPTION* pointDescription)</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void ComputePointAndSegmentAtLength(float length, int startSegment, Matrix3x2? worldTransform, float flatteningTolerance, out PointDescription pointDescriptionRef)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub ComputePointAndSegmentAtLength(length As Single, startSegment As Integer, worldTransform As Matrix3x2?, flatteningTolerance As Single, ByRef pointDescriptionRef As PointDescription)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">length</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">startSegment</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Matrix3x2.html">Matrix3x2</a>?</td>
      <td><span class="parametername">worldTransform</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">flatteningTolerance</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Direct2D.PointDescription.html">PointDescription</a></td>
      <td><span class="parametername">pointDescriptionRef</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
