Spread for ASP.NET 11 Product Documentation
SavePdfToResponse(String) Method
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class > SavePdfToResponse Method : SavePdfToResponse(String) Method
Path and file name
Saves the contents of the Spread component to a Response object in PDF file format.
Syntax
'Declaration
 
Public Overloads Function SavePdfToResponse( _
   ByVal fileName As String _
) As Boolean
'Usage
 
Dim instance As FpSpread
Dim fileName As String
Dim value As Boolean
 
value = instance.SavePdfToResponse(fileName)
public bool SavePdfToResponse( 
   string fileName
)

Parameters

fileName
Path and file name
Example
This example saves the Spread to a PDF file.
FpSpread1.SavePdfToResponse("test.pdf");
FpSpread1.SavePdfToResponse("test.pdf")
See Also

Reference

FpSpread Class
FpSpread Members
Overload List