TX Text Control .NET Server

GetDocumentViewerAsset 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 an embedded, version-matched Document Viewer asset.

Syntax

public Microsoft.AspNetCore.Mvc.ActionResult GetDocumentViewerAsset(string assetPath)

Parameters

ParameterDescription
assetPath

Canonical path of the requested viewer asset.

Return Value

The requested asset, or a not-found response for unknown paths.