PDFsharp & MigraDoc Foundation http://forum.pdfsharp.com/ |
|
XImage Not working on IOS http://forum.pdfsharp.com/viewtopic.php?f=2&t=4159 |
Page 1 of 1 |
Author: | Qilu [ Sun Jul 26, 2020 7:39 am ] |
Post subject: | XImage Not working on IOS |
I am trying to display an image in my PDF using the code below: XImage image = XImage.FromFile(fileName); Gfx.DrawImage(image, 0, 0, 250, 140); The above code works when running the app in editor on Windows but when trying to run the app on IOS I get an error: Uploading Crash Report DllNotFoundException: Unable to load DLL 'gdiplus.dll': The specified module could not be found. at System.Drawing.GDIPlus.GdiplusStartup (System.UInt64& token, System.Drawing.GdiplusStartupInput& input, System.Drawing.GdiplusStartupOutput& output) Any help on alternative ways to load the image would be appreciated. I tried the Image.FromSteam as well and I get same error about the gdiplus.dll |
Author: | TH-Soft [ Thu Jul 30, 2020 7:51 am ] |
Post subject: | Re: XImage Not working on IOS |
One implementation of PDFsharp uses GDI+ and works only on platforms that implement GDI+. The other implementation uses WPF and can be used where GDI+ is not available. I don't know whether WPF is available for IOS. For inofficial ports of PDFsharp, check the documentation of the ports. See also: http://forum.pdfsharp.net/viewtopic.php?f=2&t=832 |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |