If i understand corectly, you are looking for something like this?
https://marketplace.mendix.com/link/component/121024
This blog can help you out which is to integrate PDF viewer into mendix applicationwhich is to integrate PDF viewer into mendix application
https://docs.apryse.com/documentation/web/get-started/mendix/