Change Style Shape Properties Visio PowerShell -


does know how set shape fill transparent?

i tried following code, not working.

$appvisio = new-object -comobject visio.application $appvisio.visible = $false  $docsobj = $appvisio.documents $docobj = $docsobj.add("basic diagram.vst")  $pagsobj = $appvisio.activedocument.pages $pagobj = $pagsobj.item(1)  $shape = $appvisio.activewindow.page.drawrectangle(0.315, 0.397, 3.315, 8.015)  $shape.fillstyle = "transparent" 

thanks.

with visio, of properties effect appearance, size , position stored in shapesheet. need find right cell address which, in case, fillforegndtrans. line should read:

$shape.cellsu('fillforegndtrans').formulau = '50%' 

if you're not familiar shapesheet, might find useful background:

http://visualsignals.typepad.co.uk/vislog/2007/10/just-for-starte.html


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -