CustomLayout 对象 (PowerPoint)CustomLayout object (PowerPoint)

代表与演示文稿设计关联的自定义版式。Represents a custom layout associated with a presentation design. CustomLayout对象是**CustomLayouts** 集合的一个成员。The CustomLayout object is a member of the CustomLayouts collection.

说明Remarks

使用**Slide** 或**SlideRange** 对象的CustomLayout属性来访问CustomLayout对象, 例如:Use the CustomLayout property of the Slide or SlideRange objects to access a CustomLayout object, for example:

ActiveWindow.Selection.SlideRange(1).CustomLayout
ActivePresentation.Slides(1).CustomLayout

使用CustomLayouts集合的**Add** 方法将新的自定义版式添加到演示文稿设计的自定义版式中。Use the Add method of the CustomLayouts collection to add a new custom layout to the presentation design's custom layouts. 使用 Item 方法来引用自定义版式。Use the Item method to refer to a custom layout. 使用 粘贴 方法将剪贴板上的幻灯片粘贴到自定义布局和 CustomLayouts 集合中添加自定义的版式。Use the Paste method to paste the slides on the Clipboard into a custom layout and add the custom layout to the CustomLayouts collection.

方法Methods

名称Name
CopyCopy
CutCut
删除Delete
DuplicateDuplicate
MoveToMoveTo
SelectSelect

属性Properties

名称Name
ApplicationApplication
BackgroundBackground
CustomerDataCustomerData
设计Design
DisplayMasterShapesDisplayMasterShapes
FollowMasterBackgroundFollowMasterBackground
GuidesGuides
HeadersFootersHeadersFooters
HeightHeight
HyperlinksHyperlinks
索引Index
MatchingNameMatchingName
名称Name
ParentParent
保留Preserved
ShapesShapes
SlideShowTransitionSlideShowTransition
ThemeColorSchemeThemeColorScheme
TimeLineTimeLine
WidthWidth

另请参阅See also

PowerPoint 对象模型引用PowerPoint Object Model Reference

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.