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 > Area > SetColumnWidthInChars

SetColumnWidthInChars Method



Signature:

public void SetColumnWidthInChars ( int columnIndex , double width )

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 the 0 - 255.

Parameters:

columnIndex     The column's 0-based index, relative to the starting column of the Area.
width     The width of the column, as a number of '0' characters.

Examples:

[csharp]
a.SetColumnWidthInChars(0, 100);
[vbnet]
a.SetColumnWidthInChars(0, 100)



Copyright 2005 © SoftArtisans, Inc. All Rights Reserved.