Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Description

Excerpt

Sets or returns the width of the column as a number of '0' characters in the font of the 'Normal' style. This must be a value between 0 - 255.

Signature
C#
C#
 public double GetColumnWidthInChars(int columnIndex)
Signature
vb.net
vb.net
Public Function GetColumnWidthInChars(ByVal columnIndex As Integer) As Double
Parameters
Param
columnIndex
columnIndex

The column's 0-based index, relative to the starting column of the Area.

Returns

The width of the column, as a number of '0' characters.

Example
Code Block
csharp
csharp
titleC#
double colWidth = a.GetColumnWidthInChars();
Code Block
vbnet
vbnet
titlevb.net
Dim colWidth As Double = a.GetColumnWidthInChars()
Scrollbar