共用方式為


SlideRange.Layout Property

Returns or sets a PpSlideLayoutconstant that represents the slide layout. Read/write.

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

Syntax

'Declaration
Property Layout As PpSlideLayout
    Get
    Set
'Usage
Dim instance As SlideRange
Dim value As PpSlideLayout

value = instance.Layout

instance.Layout = value
PpSlideLayout Layout { get; set; }

Property Value

Type: Microsoft.Office.Interop.PowerPoint.PpSlideLayout

Remarks

The value of the Layout property can be one of these PpSlideLayout constants.

ppLayoutBlank

ppLayoutChart

ppLayoutChartAndText

ppLayoutClipartAndText

ppLayoutClipArtAndVerticalText

ppLayoutFourObjects

ppLayoutLargeObject

ppLayoutMediaClipAndText

ppLayoutMixed

ppLayoutObject

ppLayoutObjectAndText

ppLayoutObjectOverText

ppLayoutOrgchart

ppLayoutTable

ppLayoutText

ppLayoutTextAndChart

ppLayoutTextAndClipart

ppLayoutTextAndMediaClip

ppLayoutTextAndObject

ppLayoutTextAndTwoObjects

ppLayoutTextOverObject

ppLayoutTitle

ppLayoutTitleOnly

ppLayoutTwoColumnText

ppLayoutTwoObjectsAndText

ppLayoutTwoObjectsOverText

ppLayoutVerticalText

ppLayoutVerticalTitleAndText

ppLayoutVerticalTitleAndTextOverChart

See Also

Reference

SlideRange Interface

SlideRange Members

Microsoft.Office.Interop.PowerPoint Namespace