Welcome to MSDN Blogs Sign in | Join | Help

July 2007 - Posts

Simple F# interop with Visio example

A example that launches visio, creates a document, and then draws a rectangle. Nothing surprising, but useful as a starting point for automation. Source Code #r @"C:\Windows\assembly\gac\microsoft.office.interop.visio\12.0.0.0__71e9bce111e9429c\Microsoft.Office.Interop.Visio.dll";;
Posted by saveenr | 3 Comments

A Preview of Embedding IronPython into Visio 2007

Screenshot below should make it clear that it's possible to add an embedded IronPython commandline into Visio 2007. The script in the window is here: c = Isotope.Color.RGBColor( 1, 0.7, 0.3 ) print c.ToSystemDrawingColor() shape = visio.ActivePage.DrawRectangle(
Posted by saveenr | 1 Comments

Automating Visio with IronPython to Generate nice, consistent gradients

A needed to generate a series of consistent gradients in Visio this week for some diagrams. It's tedious to do this manually so I automated the task with IronPython 1.1. Running this command line: Produces launches Visio to 2007 produce this output. The

PowerPoint 2007 hotness: part 4 - advanced Inner Shadow

In which I show how to abuse features to great effect. So that you don't lose interest on the way, here is the payoff: And I have attached the slide deck: msdn-saveenr-powerpoint-hotness-part-4-2007-07-01.pptx How to do this Among the Shape Effects, you'll
 
Page view tracker