IDocument
SaveToFile Method (String, FileFormat, HttpResponse, HttpContentType)
|
Streams the document to the client browser.
Namespace:
Spire.Doc.Interface
Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
void SaveToFile(
string fileName,
FileFormat fileFormat,
HttpResponse response,
HttpContentType contentDisposotion
)
Sub SaveToFile (
fileName As String,
fileFormat As FileFormat,
response As HttpResponse,
contentDisposotion As HttpContentType
)
void SaveToFile(
String^ fileName,
FileFormat fileFormat,
HttpResponse^ response,
HttpContentType contentDisposotion
)
abstract SaveToFile :
fileName : string *
fileFormat : FileFormat *
response : HttpResponse *
contentDisposotion : HttpContentType -> unit
Parameters
-
fileName
-
Type:
System
String
-
fileFormat
-
Type:
Spire.Doc
FileFormat
-
response
-
Type:
System.Web
HttpResponse
-
contentDisposotion
-
Type:
Spire.Doc
HttpContentType
See Also