hi how could we get the visio stencil width in C#.net thanks dinesh
C Chris Roth [MVP] Aug 31, 2007 #2 Hi Dinesh, Usually the stencils are in a docked window, which is a sub-window. Try something like: Visio.ActiveWindow.Windows.Item[7].Width play with the index inside the [] Visio.ActiveWindow.Windows.Item[7].Caption will help you see which window you are dealing withn -- Hope this helps, Chris Roth Visio MVP Free Visio shapes: http://www.visguy.com/category/shapes Visio programming info: http://www.visguy.com/category/programming/ Other Visio resources: http://www.visguy.com/visio-links/
Hi Dinesh, Usually the stencils are in a docked window, which is a sub-window. Try something like: Visio.ActiveWindow.Windows.Item[7].Width play with the index inside the [] Visio.ActiveWindow.Windows.Item[7].Caption will help you see which window you are dealing withn -- Hope this helps, Chris Roth Visio MVP Free Visio shapes: http://www.visguy.com/category/shapes Visio programming info: http://www.visguy.com/category/programming/ Other Visio resources: http://www.visguy.com/visio-links/