http://www.aspose.com/docs/display/diagramnet/Add+Comments+to+Visio+Drawings)
Now question is how can I loop through existing comments and make their changes.
In attached document you have few comments (on page and on shape level) and then I am trying to read content of comment I am always getting "".
Code is very simple:
For Each page As Page In officeDocument.Pages
For Each shp As Shape In page.Shapes
oldText = shp.Misc.Comment.Value
Btw. this works for comments on shape but how to access existing comments on page level?
I found only Page.AddComment
How to access page comment?
How to change page and shape comments?
Thanks,
Oliver