Partager via


PageSetup.SlideSize Property

Returns or sets the slide size for the specified presentation. Read/write.

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

Syntax

'Declaration
Property SlideSize As PpSlideSizeType
    Get
    Set
'Usage
Dim instance As PageSetup
Dim value As PpSlideSizeType

value = instance.SlideSize

instance.SlideSize = value
PpSlideSizeType SlideSize { get; set; }

Property Value

Type: Microsoft.Office.Interop.PowerPoint.PpSlideSizeType

Remarks

The value of the SlideSize property can be one of these PpSlideSizeType constants.

ppSlideSize35MM

ppSlideSizeA3Paper

ppSlideSizeA4Paper

ppSlideSizeB4ISOPaper

ppSlideSizeB4JISPaper

ppSlideSizeB5ISOPaper

ppSlideSizeB5JISPaper

ppSlideSizeBanner

ppSlideSizeCustom

ppSlideSizeHagakiCard

ppSlideSizeLedgerPaper

ppSlideSizeLetterPaper

ppSlideSizeOnScreen

ppSlideSizeOverhead

See Also

Reference

PageSetup Interface

PageSetup Members

Microsoft.Office.Interop.PowerPoint Namespace