Hi Mohannad,
Check I if the bellow java action can be helpful for you , you can find it at the community commons module and use the bellow link :
https://marketplace.mendix.com/link/component/170
OverlayPdfDocument .