First published on MSDN on Nov, 16 2010
https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/64/06/metablogapi/5415.image_60527506.png Saul Candib, a Microsoft technical writer for Visio, is writing a series of posts that highlight new members of the Visio 2010 object model on the http://blogs.msdn.com/b/officedevdocs/ blog.
In the first article, Saul shows how to use the Page.Dropconnected method to add a shape to the page, and connect it to an existing shape at the same time:
- http://blogs.msdn.com/b/officedevdocs/archive/2010/10/01/use-the-page-dropconnected-method-to-connect-a-shape-dropped-on-the-page-in-visio-2010.aspx
The second article explores how to use the Page.LayoutChangeDirection to programmatically rotate or flip sets of connected shapes:
- http://blogs.msdn.com/b/officedevdocs/archive/2010/10/06/use-the-page-layoutchangedirection-and-the-selection-layoutchangedirection-methods-to-change-the-orientation-of-shapes-in-visio-2010.aspx
We covered one of those methods in a blog post: http://blogs.msdn.com/b/visio/archive/2009/09/22/the-visio-2010-connectivity-api.aspx , but the posts above provide more detail and examples. See this article for a http://blogs.msdn.com/b/visio/archive/2010/06/24/sdk-documentation-available-online.aspx
Look for more posts from Saul on Visio 2010 programmability, and other great Office developer topics on the http://blogs.msdn.com/b/officedevdocs/ blog.