[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IComment.Shape

Shape Property

Shape

Gets the IShape object that represents the shape attached to the comment.

Use the returned shape to configure the comment's layout, such as its size, line, fill, and text formatting.

Declaration
IShape Shape { get; }
ReadOnly Property Shape As IShape
Examples
worksheet.Range["D5"].Value = "Review";
IComment comment = worksheet.Range["D5"].AddComment("Check this value.");
IShape shape = comment.Shape;
shape.Width = 220;