【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.5.33 Column::GetWidth
Contents
Description
Get the display width of a column in number of characters. For hidden column, the result is zero.
Syntax
double GetWidth( )
Parameters
Return
The width in characters (approximate), exact only if the font is fixed width.
Examples
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()); }
Remark
Get the display width of a column in number of characters.
See Also
Header to Include
origin.h