[This is preliminary documentation and is subject to change.]

Download a document to the browser. This method sets appropriate parameters so that the file can be downloaded to the browser.

Namespace:  OfficeClip.Utils
Assembly:  OfficeClip.Utils (in OfficeClip.Utils)
Version: 8.1.1.0

Syntax

C#
public static void Download(
	string fileName,
	Stream ms,
	string contentType
)
Visual Basic (Declaration)
Public Shared Sub Download ( _
	fileName As String, _
	ms As Stream, _
	contentType As String _
)
Visual C++
public:
static void Download(
	String^ fileName, 
	Stream^ ms, 
	String^ contentType
)

Parameters

fileName
Type: System..::.String
the full path name of the file on the local machine.
ms
Type: System.IO..::.Stream
The content of the file as a stream.
contentType
Type: System..::.String
The content type for the http

See Also