# SectionFormat.EqualColumnWidth Property

> Gets or sets a value indicating whether the columns on a page have all the same width and the same distance between them. If this property is set to true, the width of the columns are automatically calculated from the page size. The common distance can be specified with the SectionFormat.ColumnDistances property.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 15.0
- **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 > SectionFormat.EqualColumnWidth Property
- **558 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/sectionformat/equalcolumnwidth-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/sectionformat/equalcolumnwidth-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/sectionformat/equalcolumnwidth-property/llms-full.txt

---

### Description

Gets or sets a value indicating whether the columns on a page have all the same width and the same distance between them. If this property is set to true, the width of the columns are automatically calculated from the page size. The common distance can be specified with the [SectionFormat.ColumnDistances](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/sectionformat/columndistances-property/llms-full.txt) property.

### Syntax

```csharp
public bool EqualColumnWidth { get; set; }
```

```vbnet
Public Property EqualColumnWidth As Boolean
```

### Examples

The following example configures the layout of the first document section by using `SectionFormat.EqualColumnWidth`.

```csharp
SectionFormat sectionFormat = textControl.Sections[1].Format;

sectionFormat.EqualColumnWidth = true;
if (sectionFormat.EqualColumnWidth)
{
    Console.WriteLine("Section Format: Equal Column Width is enabled.");
}
```

```vbnet
Dim sectionFormat As SectionFormat = textControl.Sections(1).Format

sectionFormat.EqualColumnWidth = True
If sectionFormat.EqualColumnWidth Then
    Console.WriteLine("Section Format: Equal Column Width is enabled.")
End If
```

### Remarks

The property's default value is true.

The property returns its default value when the text selection contains multiple sections with mixed setting. The [Selection.IsCommonValueSelected](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/selection/iscommonvalueselected-method/llms-full.txt) method can be used to check for mixed attributes.

---

## Nearby

- **Previous:** [SectionFormat Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/sectionformat/constructor/llms-full.txt)
- **Next:** [SectionFormat.Landscape Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/sectionformat/landscape-property/llms-full.txt)
