# DocumentLoadSettings.PDFJS Property

> Specifies the settings for using Mozilla's PDF.JS.

- **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 > DocumentLoadSettings.PDFJS Property
- **315 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer/documentloadsettings/pdfjs-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer/documentloadsettings/pdfjs-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer/documentloadsettings/pdfjs-property/llms-full.txt

---

### Description

Specifies the settings for using Mozilla's PDF.JS.

### Syntax

```csharp
public PDFJSSettings PDFJS { get; }
```

```vbnet
Public ReadOnly Property PDFJS As PDFJSSettings
```

### Examples

The following example checks `DocumentLoadSettings.PDFJS` before continuing the web document workflow.

```csharp
if (documentLoadSettings.PDFJS != null)
{
    Console.WriteLine("PDFJS is available for Document Load Settings.");
}
```

```vbnet
If documentLoadSettings.PDFJS IsNot Nothing Then
    Console.WriteLine("PDFJS is available for Document Load Settings.")
End If
```

---

## Nearby

- **Previous:** [DocumentLoadSettings.LoadEmbeddedComments Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer/documentloadsettings/loadembeddedcomments-property/llms-full.txt)
- **Next:** [DocumentViewer Class](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer/documentviewer/llms-full.txt)
