DefaultDistance Field
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
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
public const int DefaultDistance = 454;Public Const DefaultDistance As Integer = 454Examples
The following example configures the page border of the first document section by using PageBorder.DefaultDistance.
PageBorder pageBorder = textControl.Sections[1].Format.PageBorder;
Console.WriteLine($"Default Distance: {PageBorder.DefaultDistance}");
Console.WriteLine("Page Border is ready for use.");Dim pageBorder As PageBorder = textControl.Sections(1).Format.PageBorder
Console.WriteLine($"Default Distance: {PageBorder.DefaultDistance}")
Console.WriteLine("Page Border is ready for use.")