PrintDocument for WinForms | ComponentOne
PrintDocument Library / Text Expressions
In This Topic
    Text Expressions
    In This Topic

    PrintDocument supports the use of different criteria in the document by specifying expressions. An expression is simply a string, which when parsed and processed, gives some value. It can consist of field names, functions, operators or constants.

    When specifying expressions in code, the expression fields are wrapped in square brackets. The expressions can be assigned using the Text property of RenderText and ParagraphText objects.

    To work with expressions, use the following object IDs:

    Note: If the expression parser cannot parse the text within square brackets, such text is not interpreted as an expression, instead is inserted in the document as it is.