GetWidth
Get the display width of a column in number of characters. For hidden column, the result is zero.
double GetWidth( )
The width in characters (approximate), exact only if the font is fixed width.
EX1
// Assumes a worksheet exists in the project void Column_GetWidth_Ex1() { WorksheetPage wp = Project.WorksheetPages(0); if(!wp) return; Worksheet wks(wp.GetName()); out_int("col(1) width=", wks.Columns(0).GetWidth()); }
Get the display width of a column in number of characters.
Column::SetWidth
origin.h