# C1.Pdf.C1PdfDocumentBase.PdfVersion

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Pdf_C1PdfDocumentBase_PdfVersion_" data-uid="C1.Pdf.C1PdfDocumentBase.PdfVersion*">PdfVersion Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Pdf_C1PdfDocumentBase_PdfVersion_" data-uid="C1.Pdf.C1PdfDocumentBase.PdfVersion*"></a>
<h4 id="C1_Pdf_C1PdfDocumentBase_PdfVersion" data-uid="C1.Pdf.C1PdfDocumentBase.PdfVersion">PdfVersion</h4>
<div class="markdown level1 summary"><p>Gets or sets the PDF Version of the generated document.</p>
<p>
By default the version is determined automatically based on which features are used in this document.
Setting this property to a non-null string in the format "1.X"
(where X is a digit from 0 to 9) overrides the automatic value with the specified one.
</p><p>Setting this property to null reverts to the default behavior.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public string PdfVersion { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property PdfVersion As String</code></pre>
</div>
</div>
