Skip to content

PDF Reader Guide

Shubham Singh edited this page May 19, 2019 · 1 revision

PDF Reader Guide Manual

Upon receiving several requests for guide to setup pdf reader in Unity, here is the checklist to ensure that it works smooth for you.

Make sure that the libs folder contains all the necessary libraries.

  • pdfium.dll
  • PdfToImage.dll
  • PdfiumViewer.dll
  • System.Drawing.Design.dll
  • PdfiumViewer.resources.dll
  • System.Drawing.dll

Playser Settings:

  • ScriptingRuntimeVersion -> .NET4.x equivalent
  • ScriptingImplementation -> Mono
  • ApiCompatibilityLevel -> .NET 4.6

Make sure that the file path is set correctly and finally in the build folder copy and paste the following dll's:

  • pdfium.dll
  • PdfiumViewer.dll
  • PdfiumViewer.resources.dll

right next to your build executable and you should be good to go.

credits: Alexey (https://github.com/vangogih)

Clone this wiki locally