visibleDocument

open fun visibleDocument(visibleDocumentIndex: Int): PdfUiFragmentBuilder

Sets index of the document that should be visible after opening the fragment. This is only valid when builder has been created with multiple documents via fromDocumentDescriptor.

Return

Instance of this builder.

Parameters

visibleDocumentIndex

Index of the visible document.

Throws

When visible document index is out of bounds of loaded documents.