# PDFJSSettings.WorkerSourcePath Property

> Specifies the worker source path.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Namespace:** `TXTextControl.Web.MVC.DocumentViewer`
- **Package:** `TXTextControl.Web.DocumentViewer` (assembly `TXTextControl.Web.MVC.DocumentViewer.dll`, from nuget.org, the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.Web.DocumentViewer.Classic` (assembly `TXTextControl.Web.MVC.DocumentViewer.dll`, from nuget.org)
- **Path:** TX Text Control .NET Server > Reference > TXTextControl.Web.MVC.DocumentViewer > PDFJSSettings.WorkerSourcePath Property
- **409 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer/pdfjssettings/workersourcepath-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer/pdfjssettings/workersourcepath-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer/pdfjssettings/workersourcepath-property/llms-full.txt

---

### Description

Specifies the worker source path.

### Syntax

```csharp
public string WorkerSourcePath { get; set; }
```

```vbnet
Public Property WorkerSourcePath As String
```

### Examples

The following example configures `PDFJSSettings.WorkerSourcePath` and checks the resulting web document component setting before it is used.

```csharp
pDFJSSettings.WorkerSourcePath = @"App_Data\document.docx";
if (!string.IsNullOrWhiteSpace(pDFJSSettings.WorkerSourcePath))
{
    Console.WriteLine($"Worker Source Path: {pDFJSSettings.WorkerSourcePath}");
}
```

```vbnet
pDFJSSettings.WorkerSourcePath = "App_Data\document.docx"
If Not String.IsNullOrWhiteSpace(pDFJSSettings.WorkerSourcePath) Then
    Console.WriteLine($"Worker Source Path: {pDFJSSettings.WorkerSourcePath}")
End If
```

---

## Nearby

- **Previous:** [PDFJSSettings.LibrarySourcePath Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer/pdfjssettings/librarysourcepath-property/llms-full.txt)
- **Next:** [TXTextControl.Web.MVC.DocumentViewer.Services namespace](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer-services/llms-full.txt)
