Dokumentacija HotXLS
Sadržaj
Početna
Pregled
TXLSWorksheet
Početna
Sadržaj
Pregled
AddComment metoda
Adds a cell comment by one-based worksheet coordinates and returns the created TXLSComment object
Sintaksa
function AddComment(Row, Col: Integer; Text: WideString): TXLSComment; overload;
function AddComment(Row, Col: Integer; Text: WideString; Author: WideString): TXLSComment; overload;
Parametri
Row, Col
1-based worksheet coordinates of the target cell
Text
Comment text to attach to the target cell
Author
Optional saved comment author
Primer
Workbook.Sheets[1].AddComment(
4, 2,
'Check total',
'Reviewer');
Vidi takođe
klasa TXLSWorksheet
TXLSWorksheet.RCRangesvojstvo
IXLSRange.AddCommentmetoda
klasa TXLSComment
Copyright © 2010-2026 losLab Software