Forums     Knowledge Base     OfficeWriter Online     
 
This documentation is for
OfficeWriter v3.0.4
.NET Platform

View Docs for Another
Version or Platform

Programmer's Reference > ExcelApplication API > ColumnProperties > WidthInChars

WidthInChars Property


C# Signature:

VB.NET Signature:


Description:

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.

WidthInChars is a read / write property.



Examples:

[csharp]
double colWidth = colProps.WidthInChars;
[csharp]
colProps.WidthInChars = 20;
[vbnet]
Dim colWidth As Double = colProps.WidthInChars
[vbnet]
colProps.WidthInChars = 20


Getter

Signature:

public double WidthInChars

Returns:

double The width of the column in characters.

Setter

Signature:

public void WidthInChars double width

Type:

double



Copyright 2005 © SoftArtisans, Inc. All Rights Reserved.