FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class > SavePdfToResponse Method : SavePdfToResponse(Int32,String,Boolean,PdfSecurity) Method |
'Declaration Public Overloads Function SavePdfToResponse( _ ByVal sheet As Integer, _ ByVal fileName As String, _ ByVal showInBrowser As Boolean, _ ByVal pdfSecurity As PdfSecurity _ ) As Boolean
'Usage Dim instance As FpSpread Dim sheet As Integer Dim fileName As String Dim showInBrowser As Boolean Dim pdfSecurity As PdfSecurity Dim value As Boolean value = instance.SavePdfToResponse(sheet, fileName, showInBrowser, pdfSecurity)
public bool SavePdfToResponse( int sheet, string fileName, bool showInBrowser, PdfSecurity pdfSecurity )
FpSpread1.SavePdfToResponse(0, "test.pdf", false, new FarPoint.PDF.Source.Encryption.PdfSecurity("test"));
FpSpread1.SavePdfToResponse(0, "test.pdf", False, New FarPoint.PDF.Source.Encryption.PdfSecurity("test"))
Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional