ApiPresentation
Represents the ApiPresentation class.
Methods
| Method | Returns | Description |
|---|---|---|
| AddMaster | boolean | Adds the slide master to the presentation slide masters collection. |
| AddMathEquation | boolean | Adds a math equation to the current presentation. |
| AddSlide | None | Appends a new slide to the end of the presentation. |
| ApplyTheme | boolean | Applies a theme to all the slides in the presentation. |
| CreateNewHistoryPoint | None | Creates a new history point. |
| GetAllCharts | ApiChart[] | Returns an array with all the chart objects from the current presentation. |
| GetAllComments | ApiComment[] | Returns all comments from the current presentation. |
| GetAllDrawings | Drawing[] | Returns an array with all the drawing objects from the current presentation. |
| GetAllImages | ApiImage[] | Returns an array with all the image objects from the current presentation. |
| GetAllOleObjects | ApiOleObject[] | Returns an array with all the OLE objects from the current presentation. |
| GetAllShapes | ApiShape[] | Returns an array with all the shape objects from the current presentation. |
| GetAllSlideMasters | ApiMaster[] | Returns an array of all slide masters from the current presentation. |
| GetAllSlides | ApiSlide[] | Returns an array of all slides from the current presentation. |
| GetAllTables | ApiTable[] | Returns an array with all tables from the current presentation (including slide masters and slide layouts). |
| GetClassType | "presentation" | Returns a type of the ApiPresentation class. |
| GetCore | ApiCore | Returns the core properties interface for the current presentation. This method is used to view or modify standard metadata such as title, author, and keywords. |
| GetCurSlideIndex | number | Returns the index for the current slide. |
| GetCurrentSlide | ApiSlide | Returns the current slide. |
| GetCurrentVisibleSlide | ApiSlide | null | Returns the current visible slide. |
| GetCustomProperties | ApiCustomProperties | Returns the custom properties from the current presentation. |
| GetCustomXmlParts | ApiCustomXmlParts | null | Retrieves the custom XML manager associated with the presentation. This manager allows manipulation and access to custom XML parts within the presentation. |
| GetDocumentInfo | object | Returns the document information: Application - the application the document has been created with. CreatedRaw - the date and time when the file was created. Created - the parsed date and time when the file was created. LastModifiedRaw - the date and time when the file was last modified. LastModified - the parsed date and time when the file was last modified. LastModifiedBy - the name of the user who has made the latest change to the document. Authors - the persons who has created the file. Title - this property allows you to simplify your documents classification. Tags - this property allows you to simplify your documents classification. Subject - this property allows you to simplify your documents classification. Comment - this property allows you to simplify your documents classification. |
| GetHeight | EMU | Returns the presentation height in English measure units. |
| GetMaster | ApiMaster | null | Returns a slide master by its position in the presentation. |
| GetMastersCount | number | Returns a number of slide masters. |
| GetSlideByIndex | ApiSlide | Returns a slide by its position in the presentation. |
| GetSlidesCount | number | Returns a number of slides. |
| GetWidth | EMU | Returns the presentation width in English measure units. |
| RemoveSlides | boolean | Removes a range of slides from the presentation. Deletes all the slides from the presentation if no parameters are specified. |
| ReplaceCurrentImage | None | Replaces the current image with an image specified. |
| SetLanguage | boolean | Specifies the languages which will be used to check spelling and grammar (if requested). |
| SetSizes | None | Sets the size to the current presentation. |
| SlidesToJSON | JSON[] | Converts the slides from the current ApiPresentation object into the JSON objects. |
| ToJSON | JSON | Converts the ApiPresentation object into the JSON object. |