Getting Started

FO.NET is a 100% managed code component that can easily be integrated into an ASP.NET, Windows Forms or any other .NET project.

Integrating FO.NET into your project is simply a matter of adding a reference to the assembly Fonet.dll and then calling methods and setting properties on the Fonet.FonetDriver class.

More detailed documentation can be found below:

Section 1: Hello World! Example
Section 2: The FonetDriver Class
Section 3: Configuring PDF Options
Section 4: Font Support
Section 5: Error Handling

Last edited Jan 31, 2009 at 5:46 AM by griffm, version 3


ameni Aug 10, 2012 at 11:34 PM 
bonjour , j'ai une erreur qui m'apparit lors de l'utilisation de
At least one of minimum, optimum, or maximum IPD must be specified on table.
Jai pas pu la corriger , voici une partie table de mon fichier fo
<fo:table padding-left="190px" font-weight="bold" >

<fo:table-column column-width="proportional-column-width(30)" />
<fo:table-column column-width="proportional-column-width(35)" />
<fo:table-column column-width="proportional-column-width(35)" />
Jattends votre aide merci infiniment

ramon84 Jun 10, 2012 at 2:19 PM 
Any example about how to apply an XSL to an XML and the produce a PDF file?

greatc Mar 2, 2011 at 3:23 AM 
FoNet is really simple & effective solution to generate PDF from managed code.
I've created blog explaining FoNet with examples.

This blog is dedicated to FoNet team!

MontyOnTheRun Dec 10, 2010 at 12:13 PM 
You develop a xslt that merges the xml data and the "layout" in the xsl-fo "template". The end result would then be an xml-fo that can go into this and build the pdf - right?
1.Load xml data
2.Load xsl
3.Transform to xsl-fo
4.Generate pdf from xsl-fo
5.pdf done

mainthreadmartin Oct 19, 2009 at 10:53 AM 
You don't provide any documentation with your download. I generated my own HTML pages using Doxygen since you have thoughtfully commented the code with the correct tags. Are you planning to add any documentation?

mainthreadmartin Oct 19, 2009 at 10:49 AM 
I also have the same question : I have an XML data file and an XSL file which is my stylesheet. There does not appear to be a Render method that I can use to merge the XML using the XSL to produce a PDF output file.

dlaub Sep 24, 2009 at 7:08 PM 
You would use an xslt stylesheet which is a xsl-fo "template", which is merged with xml data

lbonhumeau Jun 30, 2009 at 8:21 AM 
Ok for the HelloWorld example.
Simple enough and works great !

But how can we use fonet with data xml file and xsl-fo file as inputs ?