TX Text Control .NET Server

Format Property

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

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();