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 > GetColumnWidthInChars

GetColumnWidthInChars Method



Signature:

public double GetColumnWidthInChars ( int columnIndex )

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.

Parameters:

columnIndex     The column's 0-based index, relative to the starting column of the Area.

Returns:

double The width of the column, as a number of '0' characters.

Examples:

[csharp]
double colWidth = a.GetColumnWidthInChars();
[vbnet]
Dim colWidth As Double = a.GetColumnWidthInChars()



Copyright 2005 © SoftArtisans, Inc. All Rights Reserved.