# DocumentViewerSettings.ResourceManager Property

> Gets or sets the resource manager.

- **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 > DocumentViewerSettings.ResourceManager Property
- **388 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer/documentviewersettings/resourcemanager-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer/documentviewersettings/resourcemanager-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer/documentviewersettings/resourcemanager-property/llms-full.txt

---

### Description

Gets or sets the resource manager.

### Syntax

```csharp
public ResourceManager ResourceManager { get; set; }
```

```vbnet
Public Property ResourceManager As ResourceManager
```

### Examples

The following example attaches the application's localized Document Viewer resources to the server-side viewer settings.

```csharp
documentViewerSettings.ResourceManager = new System.Resources.ResourceManager(
    "DocumentViewer.Resources",
    System.Reflection.Assembly.GetExecutingAssembly());
Console.WriteLine("Localized Document Viewer resources are configured.");
```

```vbnet
documentViewerSettings.ResourceManager = New System.Resources.ResourceManager(
    "DocumentViewer.Resources",
    System.Reflection.Assembly.GetExecutingAssembly())
Console.WriteLine("Localized Document Viewer resources are configured.")
```

---

## Nearby

- **Previous:** [DocumentViewerSettings.RenderMode Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer/documentviewersettings/rendermode-property/llms-full.txt)
- **Next:** [DocumentViewerSettings.ShowThumbnailPane Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer/documentviewersettings/showthumbnailpane-property/llms-full.txt)
