# FarPoint.Web.Spread.FpSpread.SavePdf

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Web_Spread_FpSpread_SavePdf_" data-uid="FarPoint.Web.Spread.FpSpread.SavePdf*">SavePdf Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Web_Spread_FpSpread_SavePdf_" data-uid="FarPoint.Web.Spread.FpSpread.SavePdf*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_SavePdf_System_String_" data-uid="FarPoint.Web.Spread.FpSpread.SavePdf(System.String)">SavePdf(string)</h4>
<div class="markdown level1 summary"><p>Handles the export (or printing) of all the sheets to PDF as a file.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SavePdf(string fileName)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SavePdf(fileName As String)</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.string">string</a></td>
      <td><span class="parametername">fileName</span></td>
      <td><p>Path and file name of the PDF file</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_SavePdf_" data-uid="FarPoint.Web.Spread.FpSpread.SavePdf*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_SavePdf_System_String_FarPoint_PDF_Source_Encryption_PdfSecurity_" data-uid="FarPoint.Web.Spread.FpSpread.SavePdf(System.String,FarPoint.PDF.Source.Encryption.PdfSecurity)">SavePdf(string, PdfSecurity)</h4>
<div class="markdown level1 summary"><p>Handles the export (or printing) of all the sheets to PDF as a file.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SavePdf(string fileName, PdfSecurity pdfSecurity)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SavePdf(fileName As String, pdfSecurity As PdfSecurity)</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.string">string</a></td>
      <td><span class="parametername">fileName</span></td>
      <td><p>Path and file name of the PDF file</p>
</td>
    </tr>
    <tr>
      <td><span class="xref">PdfSecurity</span></td>
      <td><span class="parametername">pdfSecurity</span></td>
      <td><p>The password to encrypt pdf file</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_SavePdf_" data-uid="FarPoint.Web.Spread.FpSpread.SavePdf*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_SavePdf_System_IO_Stream_" data-uid="FarPoint.Web.Spread.FpSpread.SavePdf(System.IO.Stream)">SavePdf(Stream)</h4>
<div class="markdown level1 summary"><p>Handles the export (or printing) of all the sheets to PDF as a stream.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SavePdf(Stream stream)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SavePdf(stream As Stream)</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.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>Stream to save the file to as a PDF stream</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_SavePdf_" data-uid="FarPoint.Web.Spread.FpSpread.SavePdf*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_SavePdf_System_IO_Stream_FarPoint_PDF_Source_Encryption_PdfSecurity_" data-uid="FarPoint.Web.Spread.FpSpread.SavePdf(System.IO.Stream,FarPoint.PDF.Source.Encryption.PdfSecurity)">SavePdf(Stream, PdfSecurity)</h4>
<div class="markdown level1 summary"><p>Handles the export (or printing) of all the sheets to PDF as a stream.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SavePdf(Stream stream, PdfSecurity pdfSecurity)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SavePdf(stream As Stream, pdfSecurity As PdfSecurity)</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.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>Stream to save the file to as a PDF stream</p>
</td>
    </tr>
    <tr>
      <td><span class="xref">PdfSecurity</span></td>
      <td><span class="parametername">pdfSecurity</span></td>
      <td><p>The password to encrypt pdf file</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_SavePdf_" data-uid="FarPoint.Web.Spread.FpSpread.SavePdf*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_SavePdf_System_Int32_System_IO_Stream_" data-uid="FarPoint.Web.Spread.FpSpread.SavePdf(System.Int32,System.IO.Stream)">SavePdf(int, Stream)</h4>
<div class="markdown level1 summary"><p>Handles the export (or printing) of the specified sheet to PDF as a stream.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool SavePdf(int sheet, Stream stream)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function SavePdf(sheet As Integer, stream As Stream) As Boolean</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.int32">int</a></td>
      <td><span class="parametername">sheet</span></td>
      <td><p>Index of sheet to print to PDF; -1 for all sheets</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>Stream to save the file to as a PDF stream</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.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_SavePdf_" data-uid="FarPoint.Web.Spread.FpSpread.SavePdf*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_SavePdf_System_Int32_System_IO_Stream_FarPoint_PDF_Source_Encryption_PdfSecurity_" data-uid="FarPoint.Web.Spread.FpSpread.SavePdf(System.Int32,System.IO.Stream,FarPoint.PDF.Source.Encryption.PdfSecurity)">SavePdf(int, Stream, PdfSecurity)</h4>
<div class="markdown level1 summary"><p>Handles the export (or printing) of the specified sheet to PDF as a stream.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool SavePdf(int sheet, Stream stream, PdfSecurity pdfSecurity)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function SavePdf(sheet As Integer, stream As Stream, pdfSecurity As PdfSecurity) As Boolean</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.int32">int</a></td>
      <td><span class="parametername">sheet</span></td>
      <td><p>Index of sheet to print to PDF; -1 for all sheets</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>Stream to save the file to as a PDF stream</p>
</td>
    </tr>
    <tr>
      <td><span class="xref">PdfSecurity</span></td>
      <td><span class="parametername">pdfSecurity</span></td>
      <td><p>The password to encrypt pdf file</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.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_SavePdf_" data-uid="FarPoint.Web.Spread.FpSpread.SavePdf*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_SavePdf_FarPoint_Web_Spread_SheetView_System_IO_Stream_" data-uid="FarPoint.Web.Spread.FpSpread.SavePdf(FarPoint.Web.Spread.SheetView,System.IO.Stream)">SavePdf(SheetView, Stream)</h4>
<div class="markdown level1 summary"><p>Handles the export (or printing) of the specified sheet to PDF as a stream.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool SavePdf(SheetView sheetView, Stream stream)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function SavePdf(sheetView As SheetView, stream As Stream) As Boolean</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="FarPoint.Web.Spread.SheetView.html">SheetView</a></td>
      <td><span class="parametername">sheetView</span></td>
      <td><p>Sheet to be printed</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>Stream to save the file to as a PDF stream</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.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_SavePdf_" data-uid="FarPoint.Web.Spread.FpSpread.SavePdf*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_SavePdf_FarPoint_Web_Spread_SheetView_System_IO_Stream_FarPoint_PDF_Source_Encryption_PdfSecurity_" data-uid="FarPoint.Web.Spread.FpSpread.SavePdf(FarPoint.Web.Spread.SheetView,System.IO.Stream,FarPoint.PDF.Source.Encryption.PdfSecurity)">SavePdf(SheetView, Stream, PdfSecurity)</h4>
<div class="markdown level1 summary"><p>Handles the export (or printing) of the specified sheet to PDF as a stream.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool SavePdf(SheetView sheetView, Stream stream, PdfSecurity pdfSecurity)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function SavePdf(sheetView As SheetView, stream As Stream, pdfSecurity As PdfSecurity) As Boolean</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="FarPoint.Web.Spread.SheetView.html">SheetView</a></td>
      <td><span class="parametername">sheetView</span></td>
      <td><p>Sheet to be printed</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>Stream to save the file to as a PDF stream</p>
</td>
    </tr>
    <tr>
      <td><span class="xref">PdfSecurity</span></td>
      <td><span class="parametername">pdfSecurity</span></td>
      <td><p>The password to encrypt pdf file</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.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_SavePdf_" data-uid="FarPoint.Web.Spread.FpSpread.SavePdf*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_SavePdf_System_Int32_System_String_" data-uid="FarPoint.Web.Spread.FpSpread.SavePdf(System.Int32,System.String)">SavePdf(int, string)</h4>
<div class="markdown level1 summary"><p>Handles the export (or printing) of the specified sheet to PDF as a file.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool SavePdf(int sheet, string fileName)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function SavePdf(sheet As Integer, fileName As String) As Boolean</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.int32">int</a></td>
      <td><span class="parametername">sheet</span></td>
      <td><p>Index of sheet to print; -1 for all sheets</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">fileName</span></td>
      <td><p>Path and file name of PDF file</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.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_SavePdf_" data-uid="FarPoint.Web.Spread.FpSpread.SavePdf*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_SavePdf_System_Int32_System_String_FarPoint_PDF_Source_Encryption_PdfSecurity_" data-uid="FarPoint.Web.Spread.FpSpread.SavePdf(System.Int32,System.String,FarPoint.PDF.Source.Encryption.PdfSecurity)">SavePdf(int, string, PdfSecurity)</h4>
<div class="markdown level1 summary"><p>Handles the export (or printing) of the specified sheet to PDF as a file.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool SavePdf(int sheet, string fileName, PdfSecurity pdfSecurity)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function SavePdf(sheet As Integer, fileName As String, pdfSecurity As PdfSecurity) As Boolean</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.int32">int</a></td>
      <td><span class="parametername">sheet</span></td>
      <td><p>Index of sheet to print; -1 for all sheets</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">fileName</span></td>
      <td><p>Path and file name of PDF file</p>
</td>
    </tr>
    <tr>
      <td><span class="xref">PdfSecurity</span></td>
      <td><span class="parametername">pdfSecurity</span></td>
      <td><p>The password to encrypt pdf file</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.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_SavePdf_" data-uid="FarPoint.Web.Spread.FpSpread.SavePdf*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_SavePdf_FarPoint_Web_Spread_SheetView_System_String_" data-uid="FarPoint.Web.Spread.FpSpread.SavePdf(FarPoint.Web.Spread.SheetView,System.String)">SavePdf(SheetView, string)</h4>
<div class="markdown level1 summary"><p>Handles the export (or printing) of the specified sheet to PDF as a file.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool SavePdf(SheetView sheetView, string fileName)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function SavePdf(sheetView As SheetView, fileName As String) As Boolean</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="FarPoint.Web.Spread.SheetView.html">SheetView</a></td>
      <td><span class="parametername">sheetView</span></td>
      <td><p>Sheet to be printed</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">fileName</span></td>
      <td><p>Path and file name of PDF file</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.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_SavePdf_" data-uid="FarPoint.Web.Spread.FpSpread.SavePdf*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_SavePdf_FarPoint_Web_Spread_SheetView_System_String_FarPoint_PDF_Source_Encryption_PdfSecurity_" data-uid="FarPoint.Web.Spread.FpSpread.SavePdf(FarPoint.Web.Spread.SheetView,System.String,FarPoint.PDF.Source.Encryption.PdfSecurity)">SavePdf(SheetView, string, PdfSecurity)</h4>
<div class="markdown level1 summary"><p>Handles the export (or printing) of the specified sheet to PDF as a file.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool SavePdf(SheetView sheetView, string fileName, PdfSecurity pdfSecurity)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function SavePdf(sheetView As SheetView, fileName As String, pdfSecurity As PdfSecurity) As Boolean</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="FarPoint.Web.Spread.SheetView.html">SheetView</a></td>
      <td><span class="parametername">sheetView</span></td>
      <td><p>Sheet to be printed</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">fileName</span></td>
      <td><p>Path and file name of PDF file</p>
</td>
    </tr>
    <tr>
      <td><span class="xref">PdfSecurity</span></td>
      <td><span class="parametername">pdfSecurity</span></td>
      <td><p>The password to encrypt pdf file</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.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
