[xep-support] XEP.NET v3 developer - dot net c# example won't compile

From: DLaub@Wheels.com
Date: Thu Jul 15 2004 - 06:34:50 PDT

  • Next message: Werner Donné: "[xep-support] Font configuration feature request"

    I have successfully downloaded & installed XEP.NET v3 developer

    I tried to build the two c# examples - one worked (XmlXslToPdf), the other
    (FoToPdf) fails with a compile error:

    FoToPdf.cs(69,5): error CS1502: The best overloaded method match for
            'Renderx.Xep.Formatter.Format(string, System.Xml.XmlReader,
            System.IO.Stream, string, System.Collections.Hashtable,
            Renderx.Xep.Logger.Logger)' has some invalid arguments
    FoToPdf.cs(69,54): error CS1503: Argument '2': cannot convert from 'string'

    The source line in question (line 69) is:

    formatter.Format(Path.GetDirectoryName(sFoFile), sFoFile, outPdf,
    null, null);

    I can see from the Microsoft disassembler than the source code method
    signature doesn't match any of the overloads for this method.

    I tried reformatting the method call as best I could to match any method
    signature, e.g.

    formatter.Format(Path.GetDirectoryName(sFoFile), outPdf, sFoFile,
                                            props, null);

    This compiles, but bombs at run time

    Any help would be appreciated!


    David Laub

    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to majordomo@renderx.com from the address
    you are subscribed from.
    (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html

    This archive was generated by hypermail 2.1.5 : Thu Jul 15 2004 - 06:49:50 PDT