choiceTopIndexFor

fun choiceTopIndexFor(selection: PdfChoiceSelection, visibleRows: Int): Int(source)

Original option index at the top of the displayed list. Starts at /TI and moves to the first selected row if no selected row is visible, so drawing and pointer hit tests use the same viewport. Returns zero when no usable options remain.