# DocumentViewer.Interpolation Property

> Gets or sets whether the rendered document is interpolated during the process. The higher the value, the better the quality, but also the slower the rendering process and vice versa.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 15.0
- **Namespace:** `TXTextControl.DocumentServer.Web`
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXDocumentServer.Web.DocumentViewer.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXDocumentServer.Web.DocumentViewer.dll` from the setup
- **Path:** TX Text Control .NET Server > Reference > TXTextControl.DocumentServer.Web > DocumentViewer.Interpolation Property
- **575 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-web/documentviewer/interpolation-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-web/documentviewer/interpolation-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-web/documentviewer/interpolation-property/llms-full.txt

---

### Description

Gets or sets whether the rendered document is interpolated during the process. The higher the value, the better the quality, but also the slower the rendering process and vice versa.

### Syntax

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

```vbnet
Public Property Interpolation As Interpolation
```

### Members

| Value | Description |
|---|---|
| None | Documents are rendered without interpolation. This is the default. |
| Interpolation2x | Documents are rendered using 2x interpolation. |
| Interpolation3x | Documents are rendered using 3x interpolation. |
| Interpolation4x | Documents are rendered using 4x interpolation. This option is the most time-consuming one. |

### Examples

`DocumentServer.Web.DocumentViewer.Interpolation` belongs to the legacy Web Forms viewer. In the current ASP.NET Core viewer, configure the server-rendered component through `DocumentViewerSettings.DocumentPath`; interactive page state and styling are handled by the viewer client.

```csharp
documentViewerSettings.DocumentPath = @"App_Data\document.docx";
if (!string.IsNullOrWhiteSpace(documentViewerSettings.DocumentPath))
{
    Console.WriteLine($"Document Path: {documentViewerSettings.DocumentPath}");
}
```

```vbnet
documentViewerSettings.DocumentPath = "App_Data\document.docx"
If Not String.IsNullOrWhiteSpace(documentViewerSettings.DocumentPath) Then
    Console.WriteLine($"Document Path: {documentViewerSettings.DocumentPath}")
End If
```

---

## Nearby

- **Previous:** [DocumentViewer.FieldBorderStyle Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-web/documentviewer/fieldborderstyle-property/llms-full.txt)
- **Next:** [DocumentViewer.InterpolationMode Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-web/documentviewer/interpolationmode-property/llms-full.txt)
