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

Returns the width - in points (1/72 of an inch) - of the specified column. When converted to character widths, this must be a value that is between 0 - 255.

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

The column's 0-based index, relative to the first column in the Area.

Returns

The width of the column, in points.

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