# C1.C1Word.C1WordDocument.ToPoints

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Word_C1WordDocument_ToPoints_" data-uid="C1.C1Word.C1WordDocument.ToPoints*">ToPoints Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Word_C1WordDocument_ToPoints_" data-uid="C1.C1Word.C1WordDocument.ToPoints*"></a>
<h4 id="C1_C1Word_C1WordDocument_ToPoints_System_Single_" data-uid="C1.C1Word.C1WordDocument.ToPoints(System.Single)">ToPoints(float)</h4>
<div class="markdown level1 summary"><p>Converts pixels to points.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static float ToPoints(float pixels)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function ToPoints(pixels As Single) As Single</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">pixels</span></td>
      <td><p>Measurement in pixels.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</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><p>Measurement in points.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Word_C1WordDocument_ToPoints_" data-uid="C1.C1Word.C1WordDocument.ToPoints*"></a>
<h4 id="C1_C1Word_C1WordDocument_ToPoints_System_Drawing_SizeF_" data-uid="C1.C1Word.C1WordDocument.ToPoints(System.Drawing.SizeF)">ToPoints(SizeF)</h4>
<div class="markdown level1 summary"><p>Converts pixels to points.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static SizeF ToPoints(SizeF szPixels)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function ToPoints(szPixels As SizeF) As SizeF</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.drawing.sizef">SizeF</a></td>
      <td><span class="parametername">szPixels</span></td>
      <td><p>The size in pixels.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.sizef">SizeF</a></td>
      <td><p>The size in points.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Word_C1WordDocument_ToPoints_" data-uid="C1.C1Word.C1WordDocument.ToPoints*"></a>
<h4 id="C1_C1Word_C1WordDocument_ToPoints_System_Drawing_RectangleF_" data-uid="C1.C1Word.C1WordDocument.ToPoints(System.Drawing.RectangleF)">ToPoints(RectangleF)</h4>
<div class="markdown level1 summary"><p>Converts pixels to points.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static RectangleF ToPoints(RectangleF rcPixels)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function ToPoints(rcPixels As RectangleF) As RectangleF</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.drawing.rectanglef">RectangleF</a></td>
      <td><span class="parametername">rcPixels</span></td>
      <td><p>The rectangle in pixels.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectanglef">RectangleF</a></td>
      <td><p>The rectangle in points.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
