GetTextMaxLen
Get the text width of a column.
int GetTextMaxLen( )
The current Text Width of the column.
EX1
// Worksheet should exist in project void Column_GetTextMaxLen_Ex1() { WorksheetPage wp = Project.WorksheetPages(0); if(!wp) return; Worksheet wks(wp.GetName()); foreach(Column col in wks.Columns) { int iTextMaxLen = col.GetTextMaxLen(); printf("Column text width is %u\n", iTextMaxLen); } }
Get the text width of a column - this is the maximum number of characters that can be stored in a column. The default is 25, the maximum is 256.This is more different than the display column width.
Column::SetTextMaxLen
origin.h