Skip to main content

Api

Represents the Api class.

Methods

MethodReturnsDescription
CreateBlipFillApiFillCreates a blip fill to apply to the object using the selected image as the object background.
CreateBulletApiBulletCreates a bullet for a paragraph with the character or symbol specified with the sSymbol parameter.
CreateChartApiChartCreates a chart with the parameters specified.
CreateGradientStopApiGradientStopCreates a gradient stop used for different types of gradients.
CreateGroupApiGroupCreates a group of drawings.
CreateImageApiImageCreates an image with the parameters specified.
CreateLayoutApiLayoutCreates a new slide layout and adds it to the slide master if it is specified.
CreateLinearGradientFillApiFillCreates a linear gradient fill to apply to the object using the selected linear gradient as the object background.
CreateMasterApiMasterCreates a new slide master.
CreateNoFillApiFillCreates no fill and removes the fill from the element.
CreateNumberingApiBulletCreates a bullet for a paragraph with the numbering character or symbol specified with the numType parameter.
CreateOleObjectApiOleObjectCreates an OLE object with the parameters specified.
CreateParagraphApiParagraphCreates a new paragraph.
CreatePatternFillApiFillCreates a pattern fill to apply to the object using the selected pattern as the object background.
CreatePlaceholderApiPlaceholderCreates a new placeholder.
CreatePresetColorApiPresetColorCreates a color selecting it from one of the available color presets.
CreateRGBColorApiRGBColorCreates an RGB color setting the appropriate values for the red, green and blue color components.
CreateRadialGradientFillApiFillCreates a radial gradient fill to apply to the object using the selected radial gradient as the object background.
CreateRunApiRunCreates a new smaller text block to be inserted to the current paragraph or table.
CreateSchemeColorApiSchemeColorCreates a complex color scheme selecting from one of the available schemes.
CreateShapeApiShapeCreates a shape with the parameters specified.
CreateSlideApiSlideCreates a new slide.
CreateSolidFillApiFillCreates a solid fill to apply to the object using a selected solid color as the object background.
CreateStrokeApiStrokeCreates a stroke adding shadows to the element.
CreateTableApiTableCreates a table.
CreateTextPrApiTextPrCreates the empty text properties.
CreateThemeApiTheme | nullCreates a new presentation theme.
CreateThemeColorSchemeApiThemeColorSchemeCreates a new theme color scheme.
CreateThemeFontSchemeApiThemeFontSchemeCreates a new theme font scheme.
CreateThemeFormatSchemeApiThemeFormatSchemeCreates a new theme format scheme.
CreateWordArtApiDrawingCreates a Text Art object with the parameters specified.
FromJSONNoneConverts the specified JSON object into the Document Builder object of the corresponding type.
GetFullNamestringReturns the full name of the currently opened file.
GetPresentationApiPresentationReturns the main presentation.
GetSelectionApiSelectionReturns the selection from the current presentation.
ReplaceTextSmartNoneReplaces each paragraph (or text in cell) in the select with the corresponding text from an array of strings.
SaveNoneSaves changes to the specified document.
attachEventNoneSubscribes to the specified event and calls the callback function when the event fires.
detachEventNoneUnsubscribes from the specified event.