# How open a PDF file from User Interface?

**URL:** <https://forums.unrealengine.com/t/how-open-a-pdf-file-from-user-interface/1145176>\
**Category:** Blueprint\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [April 26, 2023, 3:57pm UTC](https://forums.unrealengine.com/t/how-open-a-pdf-file-from-user-interface/1145176 "2023-04-26T15:57:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![baclofeno](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@baclofeno](https://forums.unrealengine.com/u/baclofeno)\
**Post date:** [April 26, 2023, 3:57pm UTC](https://forums.unrealengine.com/t/how-open-a-pdf-file-from-user-interface/1145176/1 "2023-04-26T15:57:23Z")

</div>

Hello  
Is there a way to show a PDF file inside or outside the game?  
I want to put a button inside the user interface which will open a PDF file.  
The PDF file is the manual and the wiki of the game with more than 100 pages  
I choose pdf because it is easy to print

---

<div class="post-metadata">

**Author:** ![eray\_ozr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@eray\_ozr](https://forums.unrealengine.com/u/eray_ozr)\
**Post date:** [May 2, 2023, 1:41am UTC](https://forums.unrealengine.com/t/how-open-a-pdf-file-from-user-interface/1145176/2 "2023-05-02T01:41:35Z")

</div>

I created two plugins to read and write PDF files from Unreal Engine in runtime. You can find details from here.

> [@UE5 Runtime PDF Writer with LibHaru](https://forums.unrealengine.com/t/ue5-runtime-pdf-process-plugin/881974):
>
> I won’t maintain PDFium please consider to use Pandores. LibHaru Features Windows Only Create PDF Files (v1.7) Add pages to created PDF Load Standart Fonts Load External Font (UTF-8 supported. We tested it with Turkish special characters.) Add Text to created PDF (including line breaks and auto text wrap like pdfium) Add images to created PDF Add U3D based 3D models to created PDF Draw line, rectangle, arc and circle on created PDF (line width and color supported) Convert LibHaru PDF object …

---

<div class="post-metadata">

**Author:** ![baclofeno](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@baclofeno](https://forums.unrealengine.com/u/baclofeno)\
**Post date:** [May 4, 2023, 3:05am UTC](https://forums.unrealengine.com/t/how-open-a-pdf-file-from-user-interface/1145176/3 "2023-05-04T03:05:54Z")

</div>

i cannot use ue5 yet, i am using ue4

---

<div class="post-metadata">

**Author:** ![eray\_ozr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@eray\_ozr](https://forums.unrealengine.com/u/eray_ozr)\
**Post date:** [May 4, 2023, 8:34am UTC](https://forums.unrealengine.com/t/how-open-a-pdf-file-from-user-interface/1145176/4 "2023-05-04T08:34:13Z")

</div>

If you have visual studio, just copy codes to an UE4 plugin library. It will work. Because most codes don’t use UE APIs and the used ones haven’t changed.

But I can’t maintain both version. So, I won’t create an UE4 one.

---

<div class="post-metadata">

**Author:** ![baclofeno](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@baclofeno](https://forums.unrealengine.com/u/baclofeno)\
**Post date:** [May 4, 2023, 12:47pm UTC](https://forums.unrealengine.com/t/how-open-a-pdf-file-from-user-interface/1145176/5 "2023-05-04T12:47:01Z")

</div>

thank you, i will try
