Slide class

Slide class

Represents a slide in a presentation.

Inheritance:SlideBaseSlide

The Slide type exposes the following members:

Properties

PropertyDescription
shapesReturns the shapes of a slide.
Read-only IShapeCollection.
controlsReturns the collection of ActiveX controls on a slide.
Read-only IControlCollection.
nameReturns or sets the name of a slide.
Read/write str.
slide_idReturns the ID of a slide.
Read-only int.
custom_dataReturns the slide’s custom data.
Read-only ICustomData.
timelineReturns animation timeline object.
Read-only IAnimationTimeLine.
slide_show_transitionReturns the Transition object which contains information about
how the specified slide advances during a slide show.
Read-only ISlideShowTransition.
backgroundReturns slide’s background.
Read-only IBackground.
hyperlink_queriesProvides easy access to contained hyperlinks.
Read-only IHyperlinkQueries.
show_master_shapesSpecifies if shapes on the master slide should be shown on slides or not.
Read/write bool.
presentationReturns IPresentation interface.
Read-only IPresentation.
header_footer_managerReturns HeaderFooter manager of the slide.
Read-only ISlideHeaderFooterManager.
theme_managerReturns the overriding theme manager.
Read-only IOverrideThemeManager.
slide_numberReturns a number of slide.
Index of slide in Presentation.slides collection is always equal to SlideNumber - Presentation.FirstSlideNumber.
Read/write int.
hiddenDetermines whether the specified slide is hidden during a slide show.
Read/write bool.
layout_slideReturns or sets the layout slide for the current slide.
Read/write ILayoutSlide.
notes_slide_managerAllow to access notes slide, add and remove it.
Read-only INotesSlideManager.
slide

Methods

MethodDescription
join_portions_with_same_formatting(self)Joins runs with same formatting in all paragraphs in all acceptable shapes.
join_portions_with_same_formatting(self, collection)Joins runs with same formatting in all paragraphs in all acceptable shapes.
get_image(self, scale_x, scale_y)Returns a Thumbnail Image object with custom scaling.
get_image(self)Returns a Thumbnail Image object (20% of real size).
get_image(self, image_size)Returns a Thumbnail Image object with specified size.
get_image(self, options)Returns a Thumbnail tiff image object with specified parameters.
get_image(self, options)Returns a Thumbnail Image object.
get_image(self, options, scale_x, scale_y)Returns a Thumbnail Image object with custom scaling.
get_image(self, options, image_size)Returns a Thumbnail Image object with specified size.
write_as_svg(self, stream)Saves the slide content as an SVG file.
write_as_svg(self, stream, svg_options)Saves the slide content as an SVG file.
equals(self, slide)Determines whether the two IBaseSlide instances are equal.
Returning value is calculated based on slide’s structure and static content.
Two slides are equal if all shapes, styles, texts, animation and other settings. etc. are equal. The comparison doesn’t take into account unique identifier values, e.g. SlideId and dynamic content, e.g. current date value in Date Placeholder.
create_theme_effective(self)Returns an effective theme for this slide.
find_shape_by_alt_text(self, alt_text)Finds first occurrence of a shape with the specified alternative text.
write_as_emf(self, stream)Saves the slide content as an EMF file.
remove(self)Removes slide from presentation.
reset(self)Resets position, size and formatting of every shape that has a prototype on LayoutSlide.
get_slide_comments(self, author)Returns all slide comments added by specific author.

See Also