The active page

Get the active page

$page = Get-VisioPage -ActivePage

Set the active page

# By name
Set-VisioPage -Name "Mypage"

# Using a reference to a specific page
Set-VisioPage -Page $p

Set a new active page relative to the current active page

Set-VisioPage -Direction First
Set-VisioPage -Direction Last
Set-VisioPage -Direction Next
Set-VisioPage -Direction Previous

Last updated