Skip to main content

Conditions


Use conditions in headers, footers, and templates.

Add conditions to headers, footers, and templates when creating conditional headers, conditional footers, and conditional templates. A Header, Footer and/or Template can be associated with a condition that when met will display that particular report element.

info

Conditional headers and footers use the same height as the default header. DynamicPDF Designer does not support different header heights or footer heights.

The following conditions are available for any conditional header, conditional footer, or conditional template.

ConditionDescription
FirstPageDisplays the corresponding report element on the first page of the report.
LastPageDisplays the corresponding report element on the last page of the report.
MiddlePageDisplays the corresponding report element on any middle page of the report.
Document.EvenPageDisplays the corresponding report element on any even page of the document.
Document.OddPageDisplays the corresponding report element on any odd page of the document.

Example

Figure 1. A conditional footer specifying the LastPage condition.