add yöntemi
add(self, cell_name)
Koleksiyona bir yorum ekler.
İadeler
Comment nesne dizini.
def add(self, cell_name):
...
| Parametre | Tip | Tanım |
|---|---|---|
| cell_name | str | Cell adı. |
Örnek
commentIndex2 = comments.add("B2")
comment2 = comments[commentIndex2]
comment2.note = "Second note."
comment2.font.name = "Times New Roman"
add(self, row, column)
Koleksiyona bir yorum ekler.
İadeler
Comment nesne dizini.
def add(self, row, column):
...
| Parametre | Tip | Tanım |
|---|---|---|
| row | int | Cell satır dizini. |
| column | int | Cell sütun dizini. |
Örnek
commentIndex1 = comments.add(0, 0)
comment1 = comments[commentIndex1]
comment1.note = "First note."
comment1.font.name = "Times New Roman"
Ayrıca bakınız
- modül
aspose.cells - sınıf
Comment - sınıf
CommentCollection