API Documentation -> NtTimeChartControl -> GetColWidth

# NtTimeChartControl.GetColWidth Method

Returns the width of a column in pixels. The return type is of type double, because a column width might not match an exact pixel number.

Overload List:

Modifier / Return Value | Name and Parameters | Description
--- | --- | ---
public virtual double | GetColWidth ( int c ) | Returns the width of the column with the zero based index c.

Return value:

double
Width of the column in pixels. Not necessarily an integer value.

Parameters:

int c
Zero based index of the column.

Remarks:

Throws an Exception if c is less than zero or equal or bigger than the colum count.

See also:

GetColGetColHeaderStr()
GetColX()
GetRowHeight()

Top API Documentation -> NtTimeChartControl -> GetColWidth © 2016 Bassaly