Adds a سلول comment by one-based کاربرگ coordinates and returns the created
TXLSComment شیء
نحو
function AddComment(Row, Col: Integer; Text: WideString): TXLSComment; overload;
function AddComment(Row, Col: Integer; Text: WideString; Author: WideString): TXLSComment; overload;
Parameters
| Row, Col |
1-based کاربرگ coordinates of the target سلول |
| Text |
Comment text to attach to the target سلول |
| Author |
Optional saved comment author |
نمونه
Workbook.Sheets[1].AddComment(
4, 2,
'Check total',
'Reviewer');
همچنین ببینید