XF Rendering Server - Code Samples
This samples are included when install the product. The location of the samples has a path similar to the following. Here, it is assumed that C: is the XF Rendering Server 2008 installation drive:
C:\Program Files\Ecrion Software\XF Rendering Server 2008\Samples\
ASP Samples
HelloWorld.asp - Render
XSL-FO text as
PDF,
directly into web server's output stream.
HelloWorld-HtmlOutput.asp - Render
XSL-FO text as
HTML, directly into web server's output stream.
HelloWorldXslt.asp - Performs an
XSL
transformation, then the result is rendered as
PDF.
HelloWorldADOStreams.asp - In memory rendering using
ADODB.Stream.
ASPX
PDF Example for
Visual Studio 2003 and
2005 - Render
XSL-FO text as
PDF, directly
into web server's output stream.
C#
HelloWorld - Render
XSL-FO text into a
PDF file.
InMemoryRendering - Render
XSL-FO text into
a MemoryStream.
InprocRendering - Describes how to programatically load the
rendering engine in the same process as your
.NET application.
XSLTransformations - Performs an
XSL
transformation, then the result is rendered as
PDF.
Print - Describes several ways to print directly
to a printer using
XF Rendering Server.
XFViewerControlTest - Example of how to
use the
XF Viewer control in desktop applications.
XFEditorControlTest - Example of how to
use the
XSL-FO Editor control in desktop applications.
Thumbnail - Describes how can you create individual pages thumbnails.
MergeMultipleFODocuments -
Sample describing the usage of merge contexts and how to generate content dynamically.
Comprehensive - Large sample describing many usage
scenarios, including rendering to raster formats and using merge contexts.
C++
HelloWorld - Render
XSL-FO text into a
PDF file.
InMemoryRendering - Render
XSL-FO text into
a IStream.
XSLTransformations - Performs an XSL
transformation, then the result is rendered as
PDF.
Java
LibraryTest - A suite of examples of usage of
com.ecrion.xf.XFRenderer class.
WebServiceTest - Describes several usage scenarios
of XF Rendering Server Web Service. See also
WebServiceTest/Readme.txt for more information.
VB
HelloWorld - Render
XSL-FO text into
PDF.
XSLTransformations - Performs an
XSL
transformation, then the result is rendered into
PDF.
Comprehensive - Demonstrates several usage scenarions
like loading a document from a file, rendering multipage
TIFF documents, etc.