Hello World Example

Contents
[ ]

Assume, that you have the Sender class defined in your application as follows:

To produce a report containing a message of a concrete sender on its behalf, you can use a template document with the following content.

<<[s.getName()]>> says: "<<[s.getMessage()]>>."

To build a report from the template, you can use the following source code.

After the source code is ran, the template document is populated with the data about the sender, and the document becomes a ready report with the following content.

LINQ Reporting Engine says: "Hello, World."

After the report document is built, you can save it or perform any other tasks on it using Aspose.Words API in your code.