officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-sectioncolumn.md
Gets or sets the width of individual column.
Namespace : DevExpress.XtraRichEdit.API.Native
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
public float Width { get; set; }
Public Property Width As Single
| Type | Description |
|---|---|
| Single |
A Single value measured in current measure units.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Width property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-richedit-document-api/CS/RichEditAPISample/CodeExamples/PageLayout.cs#L31
// Set different column width.
sectionColumnsLayout[0].Width = 3f;
sectionColumnsLayout[1].Width = 2f;
winforms-richedit-document-api/VB/RichEditAPISample/CodeExamples/PageLayout.vb#L28
' Set different column width.
sectionColumnsLayout(CInt((0))).Width = 3F
sectionColumnsLayout(CInt((1))).Width = 2F
See Also