Free PDF Viewer Control for .NET MAUI - Show PDF Files with Ease!

preview_player
Показать описание

In this video we'll learn how to show PDF files on Windows, iOS, macOS and Android with a free control that is already built into .NET MAUI!

💝 Join this channel to get access to perks:

Disclaimer: this channel is done on personal title, in my free time, and not officially affiliated with or endorsed by Microsoft (my employer) in any way. Opinions and views are my own.

🔗 Links

⏱ Timestamps
00:00 - Show PDF Files in .NET MAUI
00:22 - Free PDF Viewer in .NET MAUI
01:15 - The PDF.js Library
02:46 - Implement PDF Viewer
05:31 - Running demo on Windows
06:53 - PDF Viewer Implementation for Android
10:10 - Gerald Messes up...
10:40 - Live Demo Android
11:41 - Load External PDF files
13:03 - PDF.js and Android API less than 30
13:49 - Recap, good to know!

🎥 Video edited with DaVinci Resolve

🙋‍♂️ Also find my...

#dotnetmaui #pdf #control #pdfviewer #dotnet #maui
Рекомендации по теме
Комментарии
Автор

I agree it would be better if we would't need to do it in a webview and still in a free way but a solution is better than none at all so i think its great you sharing it :) Thanks Gerald as always ;)

DeepWorksStudios
Автор

Thanks Gerald, great content as usual.
Please let us have the video on how to wrap the webview inside a reuseable control.
Love your contents :)

aweklin
Автор

Nice Video!. Works well on android but im having trouble showing the toolbar on ios, any idea?

davidezonta
Автор

FillAndExpand... Jason just rolled over in his new job and EZ just typed sigh in his sabbatical... 😂

matthewleibowitz
Автор

how to load pdf not from local(asset). i want to load pdf from online webserver

samsuofficial
Автор

Excellent. Pdf shows up fine, but I can not enter any text on the text boxes (i.e. no live text boxes), while I can enter text when opening separately on Preview. How can I make it similar to Previwe? I am using Visual Studio for Mac.

sureshacharya
Автор

Can we have same kind of pdf viewer in ios ? Like I would like to have search in pdf on iOS

mohammedsalmanp
Автор

Since my app needs minimum API 23 I am very happy with the feedback of not going higher than version v3.11.174
In that one, I only see the 'Web' folder and no 'Build' folder. I do have the viewer present, so it works half?

What folders are essentials in the 3.11.174 version to include as MauiAsset? Also how do you disable the controls?

Yakkaiser
Автор

Hello Sir, I really like the way you explain the things. I just want to know is there any library to view html content as pdf viewer in .Net Maui, just like Forms9Patch in xamarin forms?

abubakartariq
Автор

How can I do this in my hybrid desktop app of maui + blazor

kamilyt
Автор

Great Gerald, can you help me about something like documents scan from computer screen.?? thanks

bdgmsoft
Автор

I tried it and in ios it is working fine when loading from the bundle but not working when loading from document directory. The issue is only on the physical device. working in ios simulator. Any help please.

irshad
Автор

In iOS "pinch to zoom in/out" on pdf file is not working. I checked sample app as well.

viralnarshana
Автор

Hey @Gerald, Is it possible to load the token protected pdf url inside our maui application. I'm facing a problem showing the pdf inside webview as it shows the Token required every time and when I pass the token inside the header of the webview it doesn't work. Help me out.

shivammishra
Автор

pdf.js is a great library to display PDFs, just note that it's massive in size (12-15MB depending on the version).

jewersp
Автор

how to pdf file path in cloud how to view ?

muhammedyasir
Автор

Does this work with pdf with more than one page? How can I realize that?

appdevalphasystems
Автор

I was right eh, also I like free too 😆

SuperGulamali
Автор

Showing PDF files is one thing, but creating them??? Man, that was one pain in the back to do it for free 😭 I eventually got PdfSharpCore to work but it wasn't easy with it having trimming tags meant for much older .NET versions

sagiritarius