Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Word + Images + Powershell

$
0
0

Hi,

I've created a script that i've been messing around with that makes a document with custom variables and has images! now all works fine but i want to do a bit of styling.

 

$objShape = $Document.InlineShapes.AddPicture("C:\Activesync\iphone.jpg") 

$objShape.width = 220

$objShape.Height = 280

 

That is the code when it comes to do the image.

 

Now what i want to do is have it wrap as a square, so in word you would normally click the image and choose Wrap Text->Square

 

My question is how do you do this in powershell?


Viewing all articles
Browse latest Browse all 6937

Trending Articles