Slide

Overview

Slide is a class in Aspose.Slides FOSS for C++.

Represents a slide in a presentation.

This class provides 29 methods for working with Slide objects in C++ programs. Available methods include: ILayoutSlide, INotesSlideManager, ShapeCollection, as_i_presentation_component, as_i_slide_component, get_slide_comments, hidden, init_internal, layout_slide, notes_slide_manager, opc_package, part_name, and 9 additional methods. All public members are accessible to any C++ application after installing the Aspose.Slides FOSS for C++ package. Properties: ILayoutSlide, INotesSlideManager, ShapeCollection.

Properties

NameTypeAccessDescription
ShapeCollectionShapeCollectionReadGets the shape collection.
ILayoutSlideILayoutSlideReadGets the i layout slide.
INotesSlideManagerINotesSlideManagerReadGets the i notes slide manager.

Methods

SignatureDescription
ShapeCollection()ShapeCollectionProperty provides access to the slide’s ShapeCollection
ShapeCollection()ShapeCollection
ILayoutSlide()ILayoutSlideProperty provides access to the slide’s layout interface
INotesSlideManager()INotesSlideManagerProperty provides access to the slide’s notes manager
INotesSlideManager()INotesSlideManager
presentation()IPresentationReturns the parent presentation.
presentation()IPresentationReturns the parent presentation.
slide()IBaseSlideReturns this slide as the base slide.
slide()IBaseSlideReturns this slide as the base slide.
as_i_presentation_component()IPresentationComponentAllows to get base IPresentationComponent interface.
as_i_presentation_component()IPresentationComponentAllows to get base IPresentationComponent interface.
shapes()ShapeCollectionReturns the collection of shapes on this slide.
shapes()ShapeCollectionReturns the collection of shapes on this slide.
slide_number()intReturns the number of the slide. Read/write.
set_slide_number(value: int)Sets the number of the slide.
hidden()boolDetermines whether the specified slide is hidden during a slide show. Read/write.
set_hidden(value: bool)Sets whether the slide is hidden.
layout_slide()ILayoutSlideReturns the layout slide for the current slide. Read/write.
set_layout_slide(value: ILayoutSlide)Sets the layout slide for the current slide.
notes_slide_manager()INotesSlideManagerReturns the notes slide manager. Read-only.
notes_slide_manager()INotesSlideManagerReturns the notes slide manager. Read-only.
get_slide_comments(author: CommentAuthor)std::vector<Comment*>Returns comments on this slide, optionally filtered by author. If author is nullptr, returns all comments on this slide.
remove()Removes this slide from the presentation.
as_i_slide_component()ISlideComponentReturns a reference to this as ISlideComponent.
as_i_slide_component()ISlideComponentReturns a reference to this as ISlideComponent.
init_internal(presentation: Presentation, package: Internal::opc::OpcPackage, part_name: std::string_view, slide_ref: SlideReference, slide_part: Internal::pptx::SlidePart, layout_resolver: LayoutResolver)Internal initialization from OPC package data.
part_name()std::stringReturns the OPC part name for this slide, or empty if not OPC-loaded.
opc_package()Internal::opc::OpcPackageReturns the OPC package, or nullptr if not OPC-loaded.
slide_part()Internal::pptx::SlidePartReturns the SlidePart, or nullptr if not OPC-loaded.

See Also