# GrapeCity.ActiveReports.Export.Pdf.Section.PdfSecurity.Encrypt

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_ActiveReports_Export_Pdf_Section_PdfSecurity_Encrypt_" data-uid="GrapeCity.ActiveReports.Export.Pdf.Section.PdfSecurity.Encrypt*">Encrypt Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Export_Pdf_Section_PdfSecurity_Encrypt_" data-uid="GrapeCity.ActiveReports.Export.Pdf.Section.PdfSecurity.Encrypt*"></a>
<h4 id="GrapeCity_ActiveReports_Export_Pdf_Section_PdfSecurity_Encrypt" data-uid="GrapeCity.ActiveReports.Export.Pdf.Section.PdfSecurity.Encrypt">Encrypt</h4>
<div class="markdown level1 summary"><p>Determines whether the document is encrypted or not.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool Encrypt { get; set; }</code></pre>
</div>
<h5 id="GrapeCity_ActiveReports_Export_Pdf_Section_PdfSecurity_Encrypt_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>You must set this property to true for the document to be encrypted and the permissions enforced.</p>
</div>
</div>
