locked
facing issues while using iTextSharp in C#/XAML metro app RRS feed

  • Question

  • I am trying to create PDFs from a C# Metro App, but PdfWriter.GetInstance() requires some arguments which is not available in WinRT.

    I am following this article. I know server.mappath() is not to use but I can't pass arguments in PdfWriter.GetInstance() method.

    Any help would be EXTREMELY appreciated!

    Wednesday, July 18, 2012 5:14 AM

Answers

  • It sounds like iTextSharp is not designed for use with Metro style apps and may rely on parts of the .Net framework that aren't available to Metro style apps. You should check with the authors of that project to see if they are working on a version that is compatible with Metro style apps. From their sourceforge page it looks like they have a mailing list you might ask on.

    --Rob

    • Marked as answer by Xyroid Wednesday, July 18, 2012 6:27 AM
    Wednesday, July 18, 2012 5:29 AM
    Moderator