We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Adding Comment to Table Results In Adding Comment to Slide


Adding a modern comment for a table in Aspose.Slides results in the comment being added for the entire slide instead of the table shape ( when you click on the comment, the entire slide gets highlighted instead of the table shape & also clicking on the shape does not highlight the comment).

Adding the comment for a shape seems to work correctly by using the exact same method. However, we were unable to do the same for an ITable object.

Doing the same thing manually in Power Point interface results in correct behavior (the shape and comment correspond when you click on one of them).

The method used in the code is :

"author.Comments.AddModernComment(comment, (ISlide)shape.Slide, shape, PointF.Empty, DateTime.Now); "

where shape is an instance of ITable that had just been created earlier using the Slide.Shapes.InsertTable method. Tried also using the AddTable, but the result is the same.

We are using Aspose.Slides.dll version for .Net 4.0.

Please advise. Thank you

Thank you for reporting the issue.

I’ve reproduced the problem with modern comments and added a ticket with ID SLIDESNET-43212 to our issue tracking system. We apologize for any inconvenience. Our development team will investigate this case. You will be notified when the issue is resolved. You can see an issue status at the bottom of this forum thread.