Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Tue Mar 11, 2025 7:19 am

Hi there,

is an update of SkiaSharp to version 3 planned? As we updated it our side, we got the following error:

Error Message:
System.MissingMethodException : Method not found: 'SkiaSharp.SKMatrix SkiaSharp.SKMatrix.MakeTranslation(Single, Single)'.
Stack Trace:
at spr㼑.讹(Single A_0, Single A_1, spr㾣 A_2)
at spr㼑.讹(Single A_0, Single A_1)
at spr軻.議(Single A_0, Single A_1)
at Spire.Pdf.Graphics.PdfCanvas.谂(Single A_0, Single A_1, spr軻 A_2)
at Spire.Pdf.Graphics.PdfCanvas.TranslateTransform(Single offsetX, Single offsetY)
at Spire.Pdf.PdfPageBase.議(Boolean A_0, Boolean A_1, PdfCanvas& A_2)
at Spire.Pdf.PdfPageBase.get_Canvas()
at Spire.Pdf.Widget.PdfPageCollection.Insert(Int32 index, PdfPageSettings settings, Boolean existsPage)
at Spire.Pdf.Widget.PdfPageCollection.Insert(Int32 index)
at Spire.Pdf.Widget.PdfPageCollection.Add()

Thanks and kind regards

lapidservicegmbh
 
Posts: 7
Joined: Wed Aug 04, 2021 12:45 pm

Tue Mar 11, 2025 7:53 am

Hello,

Thank you for your letter. Yes, Currently the .NETStandard dlls of our product is not compatible with SkiaSharp 3. x. We have recorded this issue with SPIREPDF-7327, we will optimize it in the future. Once it is resolved, we will prioritize updating our commercial version. Until this issue is resolved, I recommend you use version 2.88.x.

Sincerely,
William
E-iceblue support team
User avatar

William.Zhang
 
Posts: 757
Joined: Mon Dec 27, 2021 2:23 am

Wed Apr 23, 2025 7:00 am

Hi there,

with Spire.Docfor.NETStandard version 13.3..5 the version of SkiaSharp was updated to 3.116.1. But we still get the same error as mentioned in out previous post.

Do you have any ideas why?

Thanks and kind regards

lapidservicegmbh
 
Posts: 7
Joined: Wed Aug 04, 2021 12:45 pm

Wed Apr 23, 2025 9:20 am

Hello,

Thanks for your message.
Currently, our Spire.Doc has been adapted to the higher version of SkiaSharp, but Spire.PDF has not yet been updated. This means that if your project includes Spire.PDF and references SkiaSharp version 3.X, the aforementioned issue will occur. We are actively working on fixing this problem, and I will notify you as soon as it is resolved. Thank you for your understanding.

Sincerely,
William
E-iceblue support team
User avatar

William.Zhang
 
Posts: 757
Joined: Mon Dec 27, 2021 2:23 am

Wed Jun 04, 2025 5:59 am

Hi there,

sorry to bother you again. Any news here?

Thanks and kind regards

lapidservicegmbh
 
Posts: 7
Joined: Wed Aug 04, 2021 12:45 pm

Wed Jun 04, 2025 6:59 am

Hello,

Thanks for your following up.
We have adjusted the SkiaSharp that the latest Spire.PDFfor.NETStandard and Spire.Docfor.NETStandard depend on to 3.116.1. To avoid your issue, please remove the dll files about Spire in your project and reinstall Spire.Docfor.NETStandard13.5.11 and Spire.PDFfor.NETStandard 11.5.9 via Nuget. If you have any other questions, please feel free to write back.

Sincerely,
William
E-iceblue support team
User avatar

William.Zhang
 
Posts: 757
Joined: Mon Dec 27, 2021 2:23 am

Return to Spire.PDF

cron