python - I want to draw visio diagrams using IronPython -
for have this. add new connector stencil , use it. how can check properties required connector (like beginx or endy)
masterconnector = stencildoc.masters.itemu["dynamic connector"] connector1 = page.drop( masterconnector, -1,-1) connector1.cellsu( "beginx" ).glueto(shapefrom.cellssrc(1, 1, 0)) connector1.cellsu( "endy" ).glueto(shapeto.cellssrc(1, 1, 0))
but use directed connector. how do that.
for 1 else looking : add this
connector1.cellsu("endarrow").formula = 1
Comments
Post a Comment