Returns an IShape interface that represents the shape attached to the specified comment.
[Visual Basic] Property ReadOnly Shape As IShape [C#] IShape Shape { get; } [C++] __property IShape* get_Shape(); [JScript] function get Shape() : IShape
IShape interface.
This example sets the width and text of comment for cell E5.
[C#]
IComment comment = book.Worksheets[1].Range["E5"].AddComment();
comment.Text = "comment";
comment.Shape.Width = 300;
[Visual Basic]
Dim comment As IComment = book.Worksheets(1).Range("E5").AddComment()
comment.Text = "comment"
comment.Shape.Width = 300
[C++]
IComment* comment = book->Worksheets->Item[1]->Range->Item[S"E5"]->AddComment();
comment->Text = S"comment";
comment->Shape->Width = 300;
IComment Interface | NativeExcel Namespace