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 WidthInChars{ get; set; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public Property WidthInChars() As Double
{signature}
{remarks}
While a cell can show more than 255 characters, a column may not exceed 255 characters in width.
{remarks}
{example}{code:csharp|title=C#}
Remarks

While a cell can show more than 255 characters, a column may not exceed 255 characters in width.

Example
Code Block
csharp
csharp
titleC#


          double colWidth = colProps.WidthInChars;
          colProps.WidthInChars = 20;
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}


          Dim colWidth As Double = colProps.WidthInChars
          colProps.WidthInChars = 20
        
{code} {example}