How to insert/inject a Text programmatically ?
Posted: Mon Oct 05, 2020 9:42 pm
How to insert/inject a Text programmatically ?
This is how I do with Stimulsoft Flex (on this case a StiText vertical on the left side of the page:
var myText:StiText = new StiText(new StiRectangle(-0.5, page.height - 15, 0.4, 15), "My sample text");
myText.font = new StiFont("Arial", 8, "Point", 2);
myText.textOptions.angle = 90;
page.components.add(myText);
How to do achieve the same with Stimulsoft JS ?
This is how I do with Stimulsoft Flex (on this case a StiText vertical on the left side of the page:
var myText:StiText = new StiText(new StiRectangle(-0.5, page.height - 15, 0.4, 15), "My sample text");
myText.font = new StiFont("Arial", 8, "Point", 2);
myText.textOptions.angle = 90;
page.components.add(myText);
How to do achieve the same with Stimulsoft JS ?