# TextViewGenerator.View Property

> Gets the View object, which informs about view changes and provides an image of the TextViewGenerator's current state.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 21.0
- **Namespace:** `TXTextControl.ServerVisualisation`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXTextControl.Server.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXTextControl.Server.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Server.dll` from the setup
- **Path:** TX Text Control .NET Server > Reference > TXTextControl.ServerVisualization > TextViewGenerator.View Property
- **437 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textviewgenerator/view-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textviewgenerator/view-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textviewgenerator/view-property/llms-full.txt

---

### Description

Gets the [View](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/view/llms-full.txt) object, which informs about view changes and provides an image of the TextViewGenerator's current state.

### Syntax

```csharp
public View View { get; }
```

```vbnet
Public ReadOnly Property View As View
```

### Examples

The following example applies bold formatting through the text view generator's selection by using `TextViewGenerator.View`.

```csharp
Selection formattedSelection = textViewGenerator.Selection;
formattedSelection.Bold = true;
textViewGenerator.Selection = formattedSelection;

Console.WriteLine($"View: {textViewGenerator.View}");
Console.WriteLine("Text View Generator is ready for use.");
```

```vbnet
Dim formattedSelection As Selection = textViewGenerator.Selection
formattedSelection.Bold = True
textViewGenerator.Selection = formattedSelection

Console.WriteLine($"View: {textViewGenerator.View}")
Console.WriteLine("Text View Generator is ready for use.")
```

### Limitations

Read only.

Runtime only.

---

## Nearby

- **Previous:** [TextViewGenerator.VerticalRulerBar Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textviewgenerator/verticalrulerbar-property/llms-full.txt)
- **Next:** [TextViewGenerator.ViewMode Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textviewgenerator/viewmode-property/llms-full.txt)
