Please provide sample code to add a preview image for a PDF file
you need to use an image or render any PDF page. there is not special function for previews. see the examples.
you need to use an image or render any PDF page. there is not special function for previews. see the examples.