Example #1
0
        /**
         * Removes the cell comment, if present
         */
        public virtual void removeComment()
        {
            // Set the comment string to be empty
            comment = null;

            // Remove the drawing from the drawing group
            if (commentDrawing != null)
            {
                // do not call DrawingGroup.Remove() because comments are not present
                // on the Workbook DrawingGroup record
                writableCell.removeComment(commentDrawing);
                commentDrawing = null;
            }
        }