How do I access the comments in a document using the object model of Visio 2003. Thanks, Olivier
O Olivier Nov 25, 2003 #1 How do I access the comments in a document using the object model of Visio 2003. Thanks, Olivier
M Mark Nelson [MS] Nov 25, 2003 #2 There is a new Shapesheet section named Annotation that stores the comments at the page or shape level.
There is a new Shapesheet section named Annotation that stores the comments at the page or shape level.
O Olivier Nov 25, 2003 #3 Mark, Thanks, I finally can get to the comments. Can comments have a UniqueID ? thanks, Olivier
M Mark Nelson [MS] Nov 26, 2003 #4 No. I think the Date stamp is the closest thing to filling that role. -- Mark Nelson Microsoft Corporation This posting is provided "AS IS" with no warranties, and confers no rights.
No. I think the Date stamp is the closest thing to filling that role. -- Mark Nelson Microsoft Corporation This posting is provided "AS IS" with no warranties, and confers no rights.
O Olivier Nov 26, 2003 #5 Mark, I retrieve the comments using vsoPage.PageSheet.CellsSRC(visSectionAnnotation, i, visAnnotationComment) can I assume that if a comment get added to page and none deleted the latest comment will be i+1 or are the i's dependent of where on the page. Thanks, Olivier
Mark, I retrieve the comments using vsoPage.PageSheet.CellsSRC(visSectionAnnotation, i, visAnnotationComment) can I assume that if a comment get added to page and none deleted the latest comment will be i+1 or are the i's dependent of where on the page. Thanks, Olivier
M Mark Nelson [MS] Dec 1, 2003 #6 In your code, i represents the row index of the comment. These should always be sequential. -- Mark Nelson Microsoft Corporation This posting is provided "AS IS" with no warranties, and confers no rights.
In your code, i represents the row index of the comment. These should always be sequential. -- Mark Nelson Microsoft Corporation This posting is provided "AS IS" with no warranties, and confers no rights.