Build 3.5.0.30 of xlsgen adds support for margins inside text boxes and vector shapes.
By default, automatic margins are used to render text inside text boxes and vector shapes.
Beginning with this build, each of the four sides can be manually set, in pixels.
Here is, for instance, how to set the left margin :
textbox.MarginLeft = 10; // text is rendered 10 pixels from the left border of the text box