Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
815
How to do custom output to PDF and MS Word
posted

What is the best Infragistics way to output custom documents to PDF and MS Word from C# and WPF?    The output should be the close to identical for both PDF and MS Word.

This is a document assembly operation by the user.

The documents will include
 a) title page
 b) page header and footer
 c) text with different font size, bold and other formatting with the same character set
 d) images
 e) tables with text
 f) tables with right aligned numbers
 
User work-flow
   - Select PDF or MS Word format
   - Select data to include or exclude.  The data comes from multiple sources, none of them are from a database, table or grid
   - Select the order to output the data
   - Enable / disable page headers, footers and page numbers
   - Select the  file path to save the output file
   - Output the document
   - Our application will then load the document in MS Word or Adobe Acrobat Reader.  Our application  does not have a document preview or viewer.
 
Target platform: Windows 7, WPF, C#, .NET 4.5 or 4.0.  We are already using Infragistics WPF v12.1 for graphing, ribbon, etc.
 
Thank you
 

Parents
  • 34510
    Verified Answer
    Offline posted

    Hello c1427,

    You will want to take a look at two of the frameworks that we provide.  One is the Infragistics Document Engine and the other is the Infragistics Word Library.  The document engine is used to produce PDF and XPS files while the word library is used for producing Microsoft Word documents.

    Infragistics Document Engine:
    https://ko.infragistics.com/help/winforms/waw-infragistics-document-engine

    Infragistics Word Library:
    https://ko.infragistics.com/help/wpf/word-library

    The document engine is available as part of our WinForms product but it has no dependencies on WinForms itself so you can use the assemblies in WPF applications.  Just include the Infragistics4.Document assemblies into the project and you can start creating PDF files.

    The Infragistics Word Library comes with both the WPF and WinForms product so you can use either one.

Reply Children