Get Started
Documentation

Api

new Api()

Base class.

Methods

Name Description
CreateBlipFill Create a blip fill which allows to fill the object using a selected image as the object background.
CreateChart Create a chart with the parameters specified.
CreateGradientStop Create a gradient stop used for different types of gradients.
CreateImage Create an image with the parameters specified.
CreateLinearGradientFill Create a linear gradient fill which allows to fill the object using a selected linear gradient as the object background.
CreateNoFill Create no fill and remove the fill from the element.
CreateParagraph Create a new paragraph.
CreatePatternFill Create a pattern fill which allows to fill the object using a selected pattern as the object background.
CreatePresetColor Create a color selecting it from one of the available color presets.
CreateRadialGradientFill Create a radial gradient fill which allows to fill the object using a selected radial gradient as the object background.
CreateRGBColor Create an RGB color setting the appropriate values for the red, green and blue color components.
CreateRun Create a new smaller text block to be inserted to the current paragraph or table.
CreateSchemeColor Create a complex color scheme selecting from one of the available schemes.
CreateShape Create a shape with the parameters specified.
CreateSolidFill Create a solid fill which allows to fill the object using a selected solid color as the object background.
CreateStroke Create a stroke adding shadows to the element.
CreateTable Create a new table with a specified number of rows and columns.
GetDocument Get the main document.