Welcome Guest, Not a member yet? Register   Sign In
i am creating a pdf file using fpdf, and trying to upload that file to the server
#3

[eluser]hebe_210[/eluser]
HI, Im not quite clear about this error, frankly I have ever created pdf from XML,but not fpdf.and I use the following codes.
Code:
RasterEdgePdfCreator pdf = new RasterEdgePdfCreator();
RasterEdgeXmlDocument xml = new RasterEdgeXmlDocument();
RasterEdgeXmlDocument xslt = new RasterEdgeXmlDocument();

//doc.FoImagePath = MapPath(".");
xml.Load(@"C/1.xml");
xslt.Load(@"C:/1.xslt");
doc.BindFO(xml, xslt);
doc.IsTruetypeFontMapCached = true;

doc.TruetypeFontMapPath = (@"d:/pdf/");
doc.Save(@C:/"T.pdf", SaveType.OpenInAcrobat,Response);
Does there exist commen erea?If yes ,you can turn to pdf creating guide in .NET. .Good luck


Messages In This Thread
i am creating a pdf file using fpdf, and trying to upload that file to the server - by El Forum - 05-29-2013, 01:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB