Working with Template Syntax Formatting

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>>

 

 

Download Template

Get the template from here.

The Code

© Aspose Pty Ltd 2001-2022. All Rights Reserved.