A
Amr Sabet
Does someone know how to set the page orientation in Visio 2003 programatically in C#? I tried to record a macro in Vision while changing the page orientation but I get the following code:
Application.ActivePage.PageSheet.CellsSRC(visSectionObject, visRowPage, visPageWidth).FormulaU = "11 in"
Application.ActivePage.PageSheet.CellsSRC(visSectionObject, visRowPage, visPageHeight).FormulaU = "8.5 in"
Application.ActivePage.PageSheet.CellsSRC(visSectionObject, visRowPage, visPageDrawSizeType).FormulaU = "3"
which does not help since the method CellsSRC does not show up in the object model in C#.
Any ideas?
EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com
Application.ActivePage.PageSheet.CellsSRC(visSectionObject, visRowPage, visPageWidth).FormulaU = "11 in"
Application.ActivePage.PageSheet.CellsSRC(visSectionObject, visRowPage, visPageHeight).FormulaU = "8.5 in"
Application.ActivePage.PageSheet.CellsSRC(visSectionObject, visRowPage, visPageDrawSizeType).FormulaU = "3"
which does not help since the method CellsSRC does not show up in the object model in C#.
Any ideas?
EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com