[]
Saves the contents of the Spread component to a Response object in PDF file format.
public bool SavePdfToResponse()
Public Function SavePdfToResponse() As Boolean
Type | Description |
---|---|
bool |
Saves the contents of the Spread component to a Response object in PDF file format.
The password to encrypt pdf filepublic bool SavePdfToResponse(PdfSecurity pdfSecurity)
Public Function SavePdfToResponse(pdfSecurity As PdfSecurity) As Boolean
Type | Name | Description |
---|---|---|
PdfSecurity | pdfSecurity |
Type | Description |
---|---|
bool |
Saves the contents of the Spread component to a Response object in PDF file format.
public bool SavePdfToResponse(string fileName)
Public Function SavePdfToResponse(fileName As String) As Boolean
Type | Name | Description |
---|---|---|
string | fileName | Path and file name |
Type | Description |
---|---|
bool |
Saves the contents of the Spread component to a Response object in PDF file format.
public bool SavePdfToResponse(string fileName, PdfSecurity pdfSecurity)
Public Function SavePdfToResponse(fileName As String, pdfSecurity As PdfSecurity) As Boolean
Type | Name | Description |
---|---|---|
string | fileName | Path and file name |
PdfSecurity | pdfSecurity | The password to encrypt pdf file |
Type | Description |
---|---|
bool |
Saves the contents of the Spread component to a Response object in PDF file format.
public bool SavePdfToResponse(int sheet, string fileName, bool showInBrowser)
Public Function SavePdfToResponse(sheet As Integer, fileName As String, showInBrowser As Boolean) As Boolean
Type | Name | Description |
---|---|---|
int | sheet | Index of sheet to print; -1 for all sheets |
string | fileName | Path and file name |
bool | showInBrowser | Whether to show the PDF in a browser |
Type | Description |
---|---|
bool |
Saves the contents of the Spread component to a Response object in PDF file format.
public bool SavePdfToResponse(int sheet, string fileName, bool showInBrowser, PdfSecurity pdfSecurity)
Public Function SavePdfToResponse(sheet As Integer, fileName As String, showInBrowser As Boolean, pdfSecurity As PdfSecurity) As Boolean
Type | Name | Description |
---|---|---|
int | sheet | Index of sheet to print; -1 for all sheets |
string | fileName | Path and file name |
bool | showInBrowser | Whether to show the PDF in a browser |
PdfSecurity | pdfSecurity | The password to encrypt pdf file |
Type | Description |
---|---|
bool |