Comments (4)
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.
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.
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.
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)
- Visio 2013 Support with Powershell Modules HOT 3
- Installing Visio Module failing: Access is denied
- problem creating shape HOT 5
- Import-VisioModel error when "&" sign is used in XML HOT 2
- Get-VisioScriptingClient seems to be missing from version 4 code HOT 4
- How to set custom properties using "directed graph from code"
- VisioAutomation and automatic-graph-layout HOT 1
- New logo For Microsoft Visio Automation
- Setting both size and shape color
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from visioautomation.