Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
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#
Wiki Markup
{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.{excerpt}
{signature:C#}
 public double WidthInChars{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property WidthInChars() As Double
Remarks

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

{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#}

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

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

{example}
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle