Programmer's Reference >
ExcelApplication API >
Area > ColumnCount
ColumnCount Property
C# Signature:
VB.NET Signature:
Description:
| Sets or returns the number of columns in the area.
ColumnCount is a
read only property.
|
Examples:
[csharp]
// Get ColumnCount
int colCount = a.ColumnCount;
// Set ColumnCount
a.ColumnCount = 7;
[vbnet]
' Get ColumnCount
Dim colCount As Integer = a.ColumnCount
' Set ColumnCount
a.ColumnCount = 7
Getter |
Signature:
public int
ColumnCount
Returns:
int
The number of columns within the specified area.
|
Copyright 2005 © SoftArtisans, Inc. All Rights Reserved.
|