|
Programmer's Reference >
ExcelApplication API >
Area > SetColumnWidth
SetColumnWidth Method
Signature:
public void SetColumnWidth ( int columnIndex
, double width
)
Description:
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.
Parameters:
|
columnIndex |
The column's 0-based index, relative to the first column in the area. |
|
width |
The width of the column, in points. |
Examples:
[csharp]
a.SetColumnWidth(0, 100);
[vbnet]
Copyright 2005 © SoftArtisans, Inc. All Rights Reserved.
|
|
|