Dokumentace HotXLS
Obsah
Domů
Přehled
TGridToXLS
IXLSWorkbook
Domů
Obsah
Přehled
AddComment metoda
Adds a
comment
to the buňka and returns
TXLSComment
objekt
Syntaxe
function
AddComment:
TXLSComment
;
function
AddComment(
Text
: WideString):
TXLSComment
;
function
AddComment(
Text
, Author: WideString):
TXLSComment
;
Text
Optional WideString. The comment text
Author
Optional WideString. The saved comment author
Příklad
Tento příklad adds the comment to A1 buňka
Workbook.Sheets[
1
].Range[
'A1'
,
'A1'
].AddComment(
'Comment text'
,
'Reviewer'
);