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
210
Export HTML Edit contents to PDF
posted

I am thinking of creating a letter or invoice etc in an HTML edit. I would like to render this as a PDF document for emailing etc.

Infragistics.Documents.Report ? Its this possible. ?

I have used the iTextSharp open source PDF components in the past for which there is loads of sample code.

There seems to be a lack of examples an creating PDF documents from code. The only focus seems to be on exporting the grid to a PDF which is a one liner ; I need a bit more granularity here ?

Mark

Parents
No Data
Reply
  • 37774
    Verified Answer
    posted

    Mark,

    There should be a sample that ships with the NetAdvantage samples pack that illustrates several aspects of the Infragistics.Documents engine, which includes working with the various individual elements like grid, tree, section, canvas, etc.  There isn't a built-in way to render more than very basic HTML however; that functionality is provided off the IText.AddRichContent method.

    -Matt

Children