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 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 void SetColumnWidth(int columnIndex, double width)
{signature}{signature:
}
Signature
vb.net
vb.net
Public Sub SetColumnWidth(ByVal columnIndex As Integer, ByVal width 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} {param:width}The width of the column, in points.{param} {example}{code:csharp|title=C#}

Param
width
width

The width of the column, in points.

Example
Code Block
csharp
csharp
titleC#

a.SetColumnWidth(0, 100);
{code} {code:vbnet|title=
Code Block
vbnet
vbnet
titlevb.net
}

a.SetColumnWidth(0, 100)
{code} {example} {scrollbar}
Scrollbar