logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

New Topic Post Reply
Options
Go to last post Go to first unread
DavidSlade  
#1 Posted : Thursday, November 30, 2023 12:19:10 AM(UTC)
Quote
DavidSlade

Rank: Newbie

Groups: Registered
Joined: 9/10/2020(UTC)
Posts: 6
Australia

Thanks: 2 times
This line no longer works with Pdfium 4.87.2704:

PdfBitmap pdfBitmap = PdfBitmap.FromFile(file)


'PdfBitmap.FromBitmap(object)' is obsolete: 'The method has been moved to the PdfBitmapExtension class (Patagames.Pdf.Gdi.dll).'

How do I add a reference to Patagames.Pdf.Gdi.dll?
Looks like it is not in the Nuget package.
I tried adding the Patagames.Pdf.Gdi.dll, which didn't work.
Paul Rayman  
#2 Posted : Thursday, November 30, 2023 8:26:34 PM(UTC)
Quote
Paul Rayman

Rank: Administration

Groups: Administrators
Joined: 1/5/2016(UTC)
Posts: 1,104

Thanks: 7 times
Was thanked: 129 time(s) in 126 post(s)
Hello,

Below are two videos that illustrate how to add this dependency to a project if your project is focused on several platforms or only on the Windows platform. In the second case it is actually added automatically.

1.


2.
thanks 1 user thanked Paul Rayman for this useful post.
DavidSlade on 12/2/2023(UTC)
DavidSlade  
#3 Posted : Saturday, December 2, 2023 4:24:40 PM(UTC)
Quote
DavidSlade

Rank: Newbie

Groups: Registered
Joined: 9/10/2020(UTC)
Posts: 6
Australia

Thanks: 2 times
Thank you, this worked
Quick Reply Show Quick Reply
Users browsing this topic
New Topic Post Reply
Forum Jump  
You can post new topics in this forum.
You can reply to topics in this forum.
You can delete your posts in this forum.
You can edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.