【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.46.29 Worksheet::GetCellComment
Contents
Description
Get cell comment as a string
Syntax
BOOL GetCellComment( int nRow, int nCol, string & comment)
Parameters
- nRow
- [input] Row number with zero offset
- nCol
- [input] Column number with zero offset
- comment
- [output] String to store the comment value
Return
TRUE for success, otherwise FALSE
Examples
EX1
void Worksheet_GetCellComment() { 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