ApiMaster
Represents the ApiMaster class.
Methods
Method | Returns | Description |
---|---|---|
AddLayout | boolean | Adds a layout to the specified slide master. |
AddObject | boolean | Adds an object (image, shape or chart) to the current slide master. |
ClearBackground | boolean | Clears the slide master background. |
Copy | ApiMaster | null | Creates a copy of the specified slide master object. |
Delete | boolean | Deletes the specified object from the parent if it exists. |
Duplicate | ApiMaster | null | Creates a duplicate of the specified slide master object, adds the new slide master to the slide masters collection. |
GetAllCharts | ApiChart[] | Returns an array with all the chart objects from the slide master. |
GetAllDrawings | Drawing[] | Returns an array with all the drawing objects from the slide master. |
GetAllImages | ApiImage[] | Returns an array with all the image objects from the slide master. |
GetAllOleObjects | ApiOleObject[] | Returns an array with all the OLE objects from the slide master. |
GetAllShapes | ApiShape[] | Returns an array with all the shape objects from the slide master. |
GetClassType | "master" | Returns the type of the ApiMaster class. |
GetDrawingsByPlaceholderType | Drawing[] | Returns an array of drawings by the specified placeholder type. |
GetLayout | ApiLayout | null | Returns a layout of the specified slide master by its position. |
GetLayoutsCount | number | Returns a number of layout objects. |
GetTheme | ApiTheme | null | Returns a theme of the slide master. |
GroupDrawings | ApiGroup | Groups an array of drawings in the current slide master. |
RemoveLayout | boolean | Removes the layouts from the current slide master. |
RemoveObject | boolean | Removes objects (image, shape or chart) from the current slide master. |
SetBackground | boolean | Sets the background to the current slide master. |
SetTheme | boolean | Sets a theme to the slide master.\ Sets a copy of the theme object. |
ToJSON | JSON | Converts the ApiMaster object into the JSON object. |