TX Text Control .NET for Windows Forms

Format Property

Property|Introduced in 14.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or sets the section's formatting attributes. The property's value is an object of the type SectionFormat which defines the page size and the page margins.

Syntax

public SectionFormat Format { get; set; }

Examples

The following example works with the first section of the current document by using Section.Format.

Section section = textControl.Sections[1];

section.Format = new SectionFormat();
section.Select();