comments in visio 2003

O

Olivier

How do I access the comments in a document using the object model of Visio
2003.

Thanks,

Olivier
 
M

Mark Nelson [MS]

There is a new Shapesheet section named Annotation that stores the comments
at the page or shape level.
 
O

Olivier

Mark,

Thanks,
I finally can get to the comments.
Can comments have a UniqueID ?


thanks,

Olivier
 
M

Mark Nelson [MS]

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

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]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top