Skip to main content
Skip table of contents

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.

CODE
if(displayNotice) out(noticeText)
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.