Partager via


PageSetup.SlideOrientation Property

Returns or sets the on-screen and printed orientation of slides in the specified presentation. Read/write.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Property SlideOrientation As MsoOrientation
    Get
    Set
'Usage
Dim instance As PageSetup
Dim value As MsoOrientation

value = instance.SlideOrientation

instance.SlideOrientation = value
MsoOrientation SlideOrientation { get; set; }

Property Value

Type: Microsoft.Office.Core.MsoOrientation

Remarks

The value returned by the NotesOrientation property can be one of these MsoOrientation constants.

msoOrientationHorizontal

msoOrientationMixed

msoOrientationVertical

See Also

Reference

PageSetup Interface

PageSetup Members

Microsoft.Office.Interop.PowerPoint Namespace