Tutorial | Download | License / Order | Products & Etc |
Dynamic Report/Drawing In-situ Try Code |
VIEWidget Setup The setup is straight forward: you download the package, put it on your web development machine, and follow the step-by-step guide in the documentation. There is no need to repeat here. Programming Introduction After the VIEWidget setup, you are ready to program it. Since the setup is already done on this server, we can program it right here. Before we do that, please know that
var INCH = control1.getInch(); //or var MM = control1.getMM();
control1.startDoc(); control1.drawString(1*INCH, 1*INCH, "Hello World"); control1.endDoc(); control1.preview(); Interactive Examples You can play with the interactive samples below. First examine how the code is written in the Code panel and see the result in the Report panel. If you like, you can modify the code before pressing the Generate Report button.
|