TX Text Control .NET Server

Download Method

Method
Namespace
TXTextControl.Web.MVC.DocumentViewer
Package
TXTextControl.Web.DocumentViewer as TXTextControl.Web.MVC.DocumentViewer.dll from nuget.org, the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.Web.DocumentViewer.Classic as 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);
ParameterDescription
streamType

Specifies the resulting format.

Download(TXTextControl.StreamType)

Only for .NET Framework 4.5.

public System.Web.Mvc.ActionResult Download(TXTextControl.StreamType streamType);

Return Value

Base64 encoded document in the resulting format.