Click or drag to resize

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
)

Parameters

fileName
Type: System String
fileFormat
Type: Spire.Doc FileFormat
response
Type: System.Web HttpResponse
contentDisposotion
Type: Spire.Doc HttpContentType
See Also