Working with Template Syntax Formatting

Note
This feature is only compatible with GroupDocs.Assembly for .NET 3.2.0 or later releases.
Note
The code uses some of the objects defined in The Business Layer.

Template Syntax Formats

Specifying String and Numeric Formats

Learn more about string and numeric formats here.

Template Syntax

 

Products

Order Price

<<if [!Any()]>>No data

<<else>><<foreach [in orders]>><<[Product.ProductName] : upper>>

<<[Price] : arabicDash>><</foreach>>

Total:

<<[Sum(c => c.Price)]>><</if>>

 

 

Tip
For detailed technical information about syntax, expressions and report generation by the engine, please visit: Working with GroupDocs.Assembly Engine

Download Template

Get the template from here.

The Code