# C1.C1Preview.CompatibilityOptions.UseGdiLinesInPdfExport

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_CompatibilityOptions_UseGdiLinesInPdfExport_" data-uid="C1.C1Preview.CompatibilityOptions.UseGdiLinesInPdfExport*">UseGdiLinesInPdfExport Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_CompatibilityOptions_UseGdiLinesInPdfExport_" data-uid="C1.C1Preview.CompatibilityOptions.UseGdiLinesInPdfExport*"></a>
<h4 id="C1_C1Preview_CompatibilityOptions_UseGdiLinesInPdfExport" data-uid="C1.C1Preview.CompatibilityOptions.UseGdiLinesInPdfExport">UseGdiLinesInPdfExport</h4>
<div class="markdown level1 summary"><p>Gets or sets a value indicating whether GDI functions should be used to draw lines when rendering for output to PDF.
The default value is false. Setting this property to true may result in much smaller file sizes in documents
containing many dashed/dotted lines.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool UseGdiLinesInPdfExport { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property UseGdiLinesInPdfExport As Boolean</code></pre>
</div>
</div>
