HotXLS Belgeleri

sınıfı TXLSComment

Birim: lxDraw
Temsil eder a cell comment

Açıklama

Bir Comment nesnesi döndürmek için Comment özelliğini kullanın. Aşağıdaki örnek, E5 hücresindeki yorumun metnini değiştirir
Workbook.Sheets[1].Range['E5', 'E5'].Comment.Text := 'Comment';
Use the AddComment method to add a comment to a range. The following example adds a comment to cell E5 on Worksheet one
with Workbook.Sheets[1].Range['E5', 'E5'].AddComment do begin
    Visible := False;
    Text := 'Comment text';
    Author := 'Reviewer';
end;

Özellikler

Author property