THPDFHeadlessOptionalContentState.Selection

function Selection(Index: Integer): THPDFOptionalContentSelection;

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

See the state lifetime and concurrency contract