Slide

ImageRenderOptions Slide La classe rappresenta una singola diapositiva in una presentazione. Fornisce l’accesso a forme, layout della diapositiva, note e commenti.

ImageRenderOptions: Aspose::Slides::Foss

#include <Aspose/Slides/Foss/slide.h>
class Slide

ImageRenderOptions: include/Aspose/Slides/Foss/slide.h


ImageRenderOptions

NameTypeAccessDescription
ShapeCollectionShapeCollectionReadGets the shape collection.
ILayoutSlideILayoutSlideReadGets the i layout slide.
INotesSlideManagerINotesSlideManagerReadGets the i notes slide manager.
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.

ImageRenderOptions

get_slide_comments()

Restituisce i commenti associati a questa diapositiva.

remove()

Rimuove questa diapositiva dalla presentazione.


Esempi d’uso

Accedi alle forme della diapositiva

#include <Aspose/Slides/Foss/presentation.h>
using namespace Aspose::Slides::Foss;

Presentation prs("deck.pptx");
auto& slide = prs.slides()[0];
std::cout << "Shape count: " << slide.shapes().size() << std::endl;

Rimuovi una diapositiva

Presentation prs("deck.pptx");
auto& slide = prs.slides()[1];
slide.remove();
prs.save("trimmed.pptx", SaveFormat::PPTX);

Vedi anche

 Italiano