Giter VIP home page Giter VIP logo

Comments (4)

tcox8 avatar tcox8 commented on July 22, 2024

Note: I tried using variations of the following but the page does NOT change:

$ls.LayoutDirection = "TopToBottom"
$ls.ConnectorStyle = "RightAngle"
$ls.ConnectorAppearance = "Straight"
Format-VisioPage -LayoutStyle $ls

I test that Format-VisioPage worked by using -Orientation and changing it back and forth from Landscape and Portrait.

from visioautomation.

tcox8 avatar tcox8 commented on July 22, 2024

Also, is the XML custom to this application? I cannot find documentation for the formatting of the XML anywhere. Anything close to the language doesn't seem to work. Another example, Attempting to add a subshape. Sorry for all the questions, and I appreciate any help you can provide.

from visioautomation.

tcox8 avatar tcox8 commented on July 22, 2024

I noticed "Get-VisioScriptingClient" fails out as it claims the function doesn't exist. I installed 4.2 but had the same issues. I then removed the entire Visio Module and installed version 3.4. Now Get-VisioScriptingClient works but I still have the same issues as my previous comments.

from visioautomation.

tcox8 avatar tcox8 commented on July 22, 2024

If I don't use the XML and instead use .AddShape and .AddConnection, I am able to change the layouts as need be with the Format-VisioPage function. I do wish that I had an answer for the XML as that would be ideal. Thanks again.

from visioautomation.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.