【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.5.58 Column::SetParameters
Contents
Description
Set the Parameters in a column label.
Syntax
BOOL SetParameters( const vector<string> & vstr )
Parameters
- vstr
- [input] the string vector with Parameters.
Return
TRUE if OK, otherwise FALSE.
Examples
EX1
// Create a worksheet and add Parameters void Column_SetParameters_Ex1() { Worksheet wks; wks.Create("Origin", CREATE_VISIBLE); vector<string> vstr1 = {"first", "second", "third"}; vector<string> vstr2 = {"1", "2", "3"}; wks.Columns(0).SetParameters(vstr1); wks.Columns(1).SetParameters(vstr2); // Parameters have been set but aren't displayed yet Grid grd; grd.Attach(wks); int nHowManyParamsToShow = vstr1.GetSize(); for (int ii = 0; ii < nHowManyParamsToShow; ii++) grd.ShowLabels(RCLT_PARAM + ii); }
Remark
Set the Parameters in a column label.
See Also
Column::GetExtendedLabel, Column::SetExtendedLabel
Header to Include
origin.h