Both the Hide If and Show If macros for Visibility feature the Display Types parameter. The following is a complete matrix of behaviors when using the Display Types parameter.
Macro | Display Types Value | Page View | Exported File |
Show-if | Displayed | Displayed |
Show-if
default | Displayed | Not Displayed |
printable | Not Displayed | Displayed | |
Hide-if | Not Displayed | Not Displayed |
default | Not Displayed | Displayed |
printable | Displayed | Not Displayed |