Listes - OpenCode/gambas-latex-report-engine GitHub Wiki

How to instantiate a new list

Dim list_example As LatexReportEngineList
list_example = NEW LatexReportEngineList(type, elements)

type = String. Used to set the list type

elements = List of String or List of List of 2 Strings. Used to generate the list elements

elements is a list of string for list type as itemize or enumerate. Every element in the array is a list element elements is a list of list of 2 strings for list type as description. The first element is the list element title. The second element is the description.

Functions:

GetType()

Get the setted list type

SetType(type as string)

Set a valid list type

AddElement(element as variant)

Add an element to the list