TX Text Control .NET Server

GetResource 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

Returns the current global viewer bundle for the legacy resource URL.

Syntax

GetResource(string)

Returns the current global viewer bundle for the legacy resource URL.

Only for .NET 8.

public Microsoft.AspNetCore.Mvc.ActionResult GetResource(string Resource);
ParameterDescription
Resource

The legacy resource name.

GetResource(string)

Only for .NET Framework 4.5.

public System.Web.Mvc.ActionResult GetResource(string Resource);

Return Value

The embedded viewer bundle, or a not-found response.