Download Method
- Namespace
TXTextControl.Web. MVC. DocumentViewer
- Package
TXTextControl.asWeb. DocumentViewer TXTextControl.from nuget.org, the private NuGet feed or Text Control Offline PackagesWeb. MVC. DocumentViewer. dll
- Also in
TXTextControl.asWeb. DocumentViewer. Classic TXTextControl.Web. MVC. DocumentViewer. dll
Description
Downloads the document in format of the stream type.
Syntax
Download(TXTextControl.StreamType)
Downloads the document in format of the stream type.
Only for .NET 8.
public Microsoft.AspNetCore.Mvc.ActionResult Download(TXTextControl.StreamType streamType);Public Function Download(streamType As TXTextControl.StreamType) As Microsoft.AspNetCore.Mvc.ActionResult| Parameter | Description |
|---|---|
| streamType | Specifies the resulting format. |
Download(TXTextControl.StreamType)
Only for .NET Framework 4.5.
public System.Web.Mvc.ActionResult Download(TXTextControl.StreamType streamType);Public Function Download(streamType As TXTextControl.StreamType) As System.Web.Mvc.ActionResultReturn Value
Base64 encoded document in the resulting format.