I have an idea for it. We can pass a two-dimensional array of texts, to a method with presentation options like the following:
doc.table([
["cell11"],["cell21"],["cell31"],
["cell12"],["cell22"],["cell32"],
["cell13"],["cell23"],["cell33"]
],{
width:20,
height:40,
x:30,
y:40
});
Then in the module we make rectangles and texts for each cell.
I have an idea for it. We can pass a two-dimensional array of texts, to a method with presentation options like the following:
Then in the module we make rectangles and texts for each cell.