Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Switches between portrait and landscape page orientations for a document or section.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Sub TogglePortrait
'Usage
Dim instance As PageSetup
instance.TogglePortrait()
void TogglePortrait()
Remarks
If the specified sections have different page orientations, an error occurs.