Get Started
Documentation

ApiDocument

new ApiDocument()

Class representing a document.

Methods

Name Description
AddElement

Add paragraph or table using its position in the document.

GetElement

Get the element by its position in the document.

GetElementsCount

Get the number of elements in the current document.

Push

Push a paragraph or a table to actually add it to the document.

RemoveAllElements

Remove all elements from the current document or from the current document element.

When all elements are removed, a new empty paragraph is automatically created. If you want to add
content to this paragraph, use the ApiDocumentContent.GetElement method.
RemoveElement

Remove element using the position specified.