TXFAInstancePresentation.SetPresence

Unit: HPDFXFAPresentation

function SetPresence(const Selector, Presence: AnsiString): Boolean;

Applies visible, hidden or invisible to a unique template target or indexed occurrence; hidden removes the flow space and invisible retains it; False exposes a diagnostic through Runtime.LastDiagnostic

See Dynamic XFA Instance Presentation for binding and selector rules, supported event syntax, budget defaults, transactional publication, persistence, painting and compatibility boundaries