GetDocumentViewerAsset 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
Returns an embedded, version-matched Document Viewer asset.
Syntax
public Microsoft.AspNetCore.Mvc.ActionResult GetDocumentViewerAsset(string assetPath)Parameters
| Parameter | Description |
|---|---|
| assetPath | Canonical path of the requested viewer asset. |
Return Value
The requested asset, or a not-found response for unknown paths.