ApiSlide
Represents the ApiSlide class.
Methods
| Method | Returns | Description |
|---|---|---|
| AddComment | boolean | Adds a comment to the current slide. |
| AddNotesText | boolean | Adds a text to the notes page of the current slide. |
| AddObject | boolean | Adds an object (image, shape or chart) to the current presentation slide. |
| ApplyLayout | boolean | Applies the specified layout to the current slide. The layout must be in slide master. |
| ApplyTheme | boolean | Applies the specified theme to the current slide. |
| ClearBackground | boolean | Clears the slide background. |
| Copy | ApiSlide | null | Creates a copy of the current slide object. |
| Delete | boolean | Deletes the current slide from the presentation. |
| Duplicate | ApiSlide | null | Creates a duplicate of the specified slide object, adds the new slide to the slides collection. |
| FollowLayoutBackground | boolean | Sets the layout background as the background of the slide. |
| FollowMasterBackground | boolean | Sets the master background as the background of the slide. |
| GetAllCharts | ApiChart[] | Returns an array with all the chart objects from the slide. |
| GetAllDrawings | Drawing[] | Returns an array with all the drawing objects from the slide. |
| GetAllImages | ApiImage[] | Returns an array with all the image objects from the slide. |
| GetAllOleObjects | ApiOleObject[] | Returns an array with all the OLE objects from the slide. |
| GetAllShapes | ApiShape[] | Returns an array with all the shape objects from the slide. |
| GetAllTables | ApiTable[] | Returns an array with all tables from the current slide. |
| GetClassType | "slide" | Returns the type of the ApiSlide class. |
| GetDrawingsByPlaceholderType | Drawing[] | Returns an array of drawings by the specified placeholder type. |
| GetHeight | EMU | Returns the slide height in English measure units. |
| GetLayout | ApiLayout | null | Returns a layout of the current slide. |
| GetNotesPage | ApiNotesPage | null | Returns the notes page from the current slide. |
| GetSlideIndex | number | Returns a position of the current slide in the presentation. |
| GetTheme | ApiTheme | Returns a theme of the current slide. |
| GetVisible | boolean | Returns the visibility of the current presentation slide. |
| GetWidth | EMU | Returns the slide width in English measure units. |
| GroupDrawings | ApiGroup | Groups an array of drawings in the current slide. |
| MoveTo | boolean | Moves the current slide to a specific location within the same collection. |
| RemoveAllObjects | None | Removes all the objects from the current slide. |
| RemoveObject | boolean | Removes objects (image, shape or chart) from the current slide. |
| Select | None | Selects the current slide. |
| SetBackground | boolean | Sets the background to the current presentation slide. |
| SetVisible | boolean | Sets the visibility to the current presentation slide. |
| ToJSON | JSON | Converts the ApiSlide object into the JSON object. |