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}{signature:
}
Signature
vb.net
vb.net
Public Function GetColumnWidthInChars(ByVal columnIndex As Integer) As Double
{signature}
{parameters}
{param:columnIndex}The 
Parameters
Param
columnIndex
columnIndex

The column's

0

\

-based

index,

relative

to

the

starting

column

of

the

Area.

{param} {returns}The width of the column, as a number of

Returns

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

characters.

{returns} {example}{code:csharp|title=C#}

Example
Code Block
csharp
csharp
titleC#

double colWidth = a.GetColumnWidthInChars();
{code} {code:vbnet|title=
Code Block
vbnet
vbnet
titlevb.net
}

Dim colWidth As Double = a.GetColumnWidthInChars()
{code} {example} {scrollbar}
Scrollbar