Jump to content

MS Visio and access to object properties


Recommended Posts

Hello everybody!

I need to write a Visio macro which could give me access to the object's properties. I select the object on the drawing and i click on my own button on toolbar. I have something like this:

Sub ModifyElement()
Dim vsoSelection As Visio.Selection
Set vsoSelection = ActiveWindow.Selection
vsoSelection.Rotate (45)

End Sub

This is the function that rotates selected object, it works fine. My question is how to get these properties. Any help will be appreciated.

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...