Field-Map Scripting

4.6.4.17 ColCount

ColCount function


Prototype:

function ColCount;

Description:

Gets number of columns in worksheet

Syntax:

variable := xls.ColCount;  


Part

Description


variable

Variable declared as integer


xls

Variable declared as an instance of the TExcelWrapper class

Return value:

Number of columns in worksheet


See also:

Landscape , SetPrintMargins , SetHeader , SetFooter , SetHeaderAndFooter , SetFirstHeaderAndFooter , SetTitleRows , SetTitleRowsAndCols , InsertHPageBreak , InsertVPageBreak , CreateHeaderOfTableContent , CreateTableOfContent , AddBackToTableOfContent , SetPrintArea , RowCount , ColCount , Header and footer codes , Predefined paper sizes, KeepColsTogether, KeepRowsTogether, AutoPageBreaks, PrintNumberOfHorizontalPages, PrintNumberOfVerticalPages, PrintToFit, Complex example