# PageBorder.DefaultDistance Field

> Represents the default distance of a page border from the edge of the page. The value of this constant is 454 twips = 8 mm.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Field
- **Introduced:** 17.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WPF.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 for WPF > Reference > TXTextControl > PageBorder.DefaultDistance Field
- **398 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/pageborder/defaultdistance-field/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/pageborder/defaultdistance-field/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/pageborder/defaultdistance-field/llms-full.txt

---

### Description

Represents the default distance of a page border from the edge of the page. The value of this constant is 454 twips = 8 mm.

### Syntax

```csharp
public const int DefaultDistance = 454;
```

```vbnet
Public Const DefaultDistance As Integer = 454
```

### Examples

The following example configures the page border of the first document section by using `PageBorder.DefaultDistance`.

```csharp
PageBorder pageBorder = textControl.Sections[1].Format.PageBorder;

Console.WriteLine($"Default Distance: {PageBorder.DefaultDistance}");
Console.WriteLine("Page Border is ready for use.");
```

```vbnet
Dim pageBorder As PageBorder = textControl.Sections(1).Format.PageBorder

Console.WriteLine($"Default Distance: {PageBorder.DefaultDistance}")
Console.WriteLine("Page Border is ready for use.")
```

---

## Nearby

- **Previous:** [PageBorder Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/pageborder/constructor/llms-full.txt)
- **Next:** [PageBorder.FirstPageOnly Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/pageborder/firstpageonly-property/llms-full.txt)
