Documill Dynamo
Breadcrumbs

if (PPTX)

A PowerPoint content command that makes its host shape conditional.

This command has a priority of 1000.

Syntax:

if(test)

Attributes

#1 - test



Required

Value type

EL-evaluated

Yes

Boolean

Yes

Defines the conditional expression. Should the resolved value be a Boolean true, the host shape remains unaltered, otherwise it is deleted and any other content commands in the shape are disabled.

Examples

The if command can be used individually or together with other content commands - its high priority will ensure it is always evaluated first, disabling any of the other commands of its host shape should content removal occur.

if(displayNotice) out(noticeText)