BasePath Property
- Obsolete
- Use WorkerSourcePath and LibrarySourcePath instead.
- 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
Specifies base path for including the sources.
Syntax
[]
public string BasePath { get; set; }<Obsolete("Use WorkerSourcePath and LibrarySourcePath instead.")>
Public Property BasePath As StringExamples
PDFJSSettings.BasePath is obsolete in the current Document Viewer package. The following example configures the PDF.js library and worker locations with the supported replacement properties.
pDFJSSettings.LibrarySourcePath = @"wwwroot\pdfjs\pdf.min.mjs";
pDFJSSettings.WorkerSourcePath = @"wwwroot\pdfjs\pdf.worker.min.mjs";pDFJSSettings.LibrarySourcePath = "wwwroot\pdfjs\pdf.min.mjs"
pDFJSSettings.WorkerSourcePath = "wwwroot\pdfjs\pdf.worker.min.mjs"