【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.46.73 Worksheet::SetCellComment
Contents
Description
Set cell comment
Syntax
BOOL SetCellComment( int nRow, int nCol, LPCSTR pszcomment, BOOL bInteractive = FALSE )
Parameters
- nRow
- [input] Row number with zero offset
- nCol
- [input] Column number with zero offset
- pszcomment
- [input] default value to set comment
- bInteractive
- [input] if true, it will pop up the interactive control to input comment
Return
TRUE for success, otherwise FALSE
Examples
EX1
void Worksheet_SetCellComment() { Worksheet wks; wks.Create("origin"); int row=3; int col=1; string strNote = "some notes"; wks.SetCellComment(row, col, strNote); string strOutput; wks.GetCellComment(row, col, strOutput); out_str(strOutput); }
Remark
See Also
Header to Include
origin.h