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

DLaub at Wheels.com DLaub at Wheels.com
Thu Jul 15 06:34:50 PDT 2004



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'
to
        'System.Xml.XmlReader'

The source line in question (line 69) is:

	
formatter.Format(Path.GetDirectoryName(sFoFile), sFoFile, outPdf, 
					Renderx.Xep.Formatter.OUTPUT_PDF,
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!

Thanks

David Laub

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20040715/386a59fe/attachment.html>


More information about the Xep-support mailing list