페이지

2012년 8월 22일 수요일

Visio SDK - Set a page active

In order to set focus a certain page in Visio, use 

Application.ActiveWindow.Page = pageName

In my case, I need to active the first page of Visio whenever new page is added. Thus, following code is added on that purpose.

Application.ActiveWindow.Page = Application.Documents.Item(1).Pages.Item(1).NameU

댓글 없음: