Introduction - If you have any usage issues, please Google them yourself
This sample demonstrates setting the IARControl::ShowScrollbars property to toggle the visibility of the Map and the PageLayout scrollbars, if the loaded document was published with permission to do so. When a document is initially loaded the IARPageLayout::ARMap property is used to iterate through the map collection and the name of each Map is added to a combo box. When the Map and PageLayout scrollbars are invisible, it is impossible to change the CurrentView manually. Instead, the IARControl::CurrentView property is used and is set to either the IARControl::ARPageLayout or the IARPageLayout::ARMap that is selected in the combo box.