Back to Devexpress

SectionColumn.Width Property

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-sectioncolumn.md

latest2.6 KB
Original Source

SectionColumn.Width Property

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

Declaration

csharp
public float Width { get; set; }
vb
Public Property Width As Single

Property Value

TypeDescription
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

csharp
// Set different column width.
sectionColumnsLayout[0].Width = 3f;
sectionColumnsLayout[1].Width = 2f;

winforms-richedit-document-api/VB/RichEditAPISample/CodeExamples/PageLayout.vb#L28

vb
' Set different column width.
sectionColumnsLayout(CInt((0))).Width = 3F
sectionColumnsLayout(CInt((1))).Width = 2F

See Also

Document.Unit

RichEditControl.Unit

SectionColumn Class

SectionColumn Members

DevExpress.XtraRichEdit.API.Native Namespace