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

The column's

0

\

-based

index,

relative

to

the

first

column

in

the

Area.

{param} {returns}The width of the column, in points.{returns} {example}{code:csharp|title=C#}

Returns

The width of the column, in points.

Example
Code Block
csharp
csharp
titleC#

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

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