[]
Saves the document into a file in PDF format.
public void SaveAsPdf(string filePath, OutputRange pageRange = null, PdfOutputSettings pdfSettings = null)
Public Sub SaveAsPdf(filePath As String, Optional pageRange As OutputRange = Nothing, Optional pdfSettings As PdfOutputSettings = Nothing)
Type | Name | Description |
---|---|---|
string | filePath | Full path to the output file. |
OutputRange | pageRange | The range of pages that should be saved. |
PdfOutputSettings | pdfSettings | The set of parameters for the output PDF. |
Saves the document into a stream in PDF format.
public void SaveAsPdf(Stream stream, OutputRange pageRange = null, PdfOutputSettings pdfSettings = null)
Public Sub SaveAsPdf(stream As Stream, Optional pageRange As OutputRange = Nothing, Optional pdfSettings As PdfOutputSettings = Nothing)
Type | Name | Description |
---|---|---|
Stream | stream | The output stream. |
OutputRange | pageRange | The range of pages that should be saved. |
PdfOutputSettings | pdfSettings | The set of parameters for the output PDF. |