scrollToSearchResult

suspend fun scrollToSearchResult(result: PdfViewSearchResult, alignment: PdfSearchScrollAlignment = PdfSearchScrollAlignment.Default)

Immediately scrolls result to its position inside the PDF page.

A PdfView using this state must already have completed a layout pass.