THPDFHeadlessOptionalContentState.Selection

function Selection(Index: Integer): THPDFOptionalContentSelection;

Return a copy of a zero-based manual selection; an index outside SelectionCount raises EHPDFOptionalContentStateError

See the state lifetime and concurrency contract