Table for MoxyDraw

Creates a Table.


Syntax:

upper left corner X
upper left corner Y
number of row
number of column
row height
column width
text height
data separator
first line type
data

upper left corner X:

Sets the upper left corner X.

upper left corner Y:

Sets the upper left corner Y.

number of row:

Sets the number of row.

number of column:

Sets the number of column.

row height:

Sets the row height.

column width:

Sets the column width.

text height:

Optional. Sets the text height. If omitted, it will be set to 1.

data separator:

Optional. Sets the character for the data separator. If omitted, it will be set to "_". Ex.: "," or "." or ";" or "_" etc.

first line type:

Sets the first line type. If omitted, it will be set to "title". Here are the available options:

Title = First line will be a single cell with a title.

Header = First line will be a header for each column.

Data = First line will be data as all other cells in the table.

data:

Sets the table data. If omitted, the table will be empty. First start with title (if set to title in "first line type"), then the data in the first row starting from the left then data in the second row starting from the left and so on. Ex.: "Custom Title_dataRow1Col1_dataRow1Col2_dataRow1Col3_dataRow2Col1_dataRow2Col2_dataRow2Col3" :

Custom Title = Sets the title if set so in "first line type".

dataRow1Col1 = Sets data in row 1, column 1 (left).

dataRow1Col2 = Sets data in row 1, column 2.

dataRow1Col3 = Sets data in row 1, column 3.

dataRow2Col1 = Sets data in row 2, column 1 (left).

dataRow2Col2 = Sets data in row 2, column 2.

dataRow2Col3 = Sets data in row 2, column 3.


_ = Separator between cell data or any chosen separator in "data separator".

Examples:

Table
0
0
4
4
3
11
table1



Table
0
0
5
6
3
16
1
-
Title
Custom Title-dataRow1Col1-dataRow1Col2-dataRow1Col3-dataRow2Col1-dataRow2Col2-dataRow2Col3-dataRow3Col1-dataRow3Col2-dataRow3Col3-dataRow4Col1-dataRow4Col2-dataRow4Col3
table2



Table
0
0
4
3
3
12
0.75
_
Data
data-Row1Col1_data-Row1Col2_data-Row1Col3_data-Row2Col1_data-Row2Col2_data-Row2Col3_data-Row3Col1_data-Row3Col2_data-Row3Col3_data-Row4Col1_data-Row4Col2_data-Row4Col3
table3



Table
0
0
4
3
3
10
1.25
MoxyTable_____It works!
table4