# InputPosition.Page Property

> Gets the page number of the current text input position. This property returns the page number only if the TextControl.ViewMode property has been set to ViewMode.PageView.

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

---

### Description

Gets the page number of the current text input position. This property returns the page number only if the [TextControl.ViewMode](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/viewmode-property/llms-full.txt) property has been set to `ViewMode.PageView`.

### Syntax

```csharp
public int Page { get; }
```

```vbnet
Public ReadOnly Property Page As Integer
```

### Examples

The following example examines or changes the insertion point in a short document by using `InputPosition.Page`.

```csharp
textControl.Text = "Project summary";
InputPosition inputPosition = textControl.InputPosition;

Console.WriteLine($"Page: {inputPosition.Page}");
Console.WriteLine("Input Position is ready for use.");
```

```vbnet
textControl.Text = "Project summary"
Dim inputPosition As InputPosition = textControl.InputPosition

Console.WriteLine($"Page: {inputPosition.Page}")
Console.WriteLine("Input Position is ready for use.")
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [InputPosition.Location Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputposition/location-property/llms-full.txt)
- **Next:** [InputPosition.PageInSection Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputposition/pageinsection-property/llms-full.txt)
