Hello everyone.

We have decided to phase out the Mixed Reality Forums over the next few months in favor of other ways to connect with us.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

The plan between now and the beginning of May is to clean up old, unanswered questions that are no longer relevant. The forums will remain open and usable.

On May 1st we will be locking the forums to new posts and replies. They will remain available for another three months for the purposes of searching them, and then they will be closed altogether on August 1st.

So, where does that leave our awesome community to ask questions? Well, there are a few places we want to engage with you. For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality. If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers. And always feel free to hit us up on Twitter @MxdRealityDev.

Hololens PDF Reader

molbalgamolbalga
edited January 3 in Questions And Answers

Dear community
I am looking for a way to display PDF documents with the hololens. I am surprised this does not come as an standard component with the SDK.
What is the best way to achieve this?

Answers

  • molbalgamolbalga
    edited January 3

    I know there is a component called PDF Renderer by Paroxe, but I was wondering whether there is any other method.

  • I don't know if it'll help in your scenario but I thought it might be worth mentioning that there are APIs within the Universal Windows Platform to do the basic work of opening, reading, displaying PDF documents.

    There is a sample over here in the official samples and the documentation starts over here around the classes PdfDocument, PdfPage, etc. I've just run that sample on the HoloLens emulator & it seemed to work for me.

    The essence of those APIs is that you can ask them to open a document, get the number of pages & then ask for a particular page to be rendered to a bitmap for your display whether in a 2D context (e.g. XAML) or a 3D context (e.g. used as some texture).

    That might be an option for you if you wanted to do some type of basic display of PDF pages inside your app or (if not) maybe you could launch the .PDF file via the default installed app on the device and let the user read it in an app of their choosing although that does mean that they then leave your app.

    I hope that helps a little, sorry if it doesn't.

Sign In or Register to comment.