【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.5.29 Column::GetTextMaxLen
Contents
Description
Get the text width of a column.
Syntax
int GetTextMaxLen( )
Parameters
Return
The current Text Width of the column.
Examples
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); } }
Remark
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.
See Also
Header to Include
origin.h