We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Create HTML PDF in Medium Trust

Thread ID:

Created:

Updated:

Platform:

Replies:

108413 Apr 19,2013 03:03 AM UTC Apr 25,2013 03:46 AM UTC ASP.NET MVC (Classic) 3
loading
Tags: PDF
Tony Basallo
Asked On April 19, 2013 03:03 AM UTC

How does one create a PDF from HTML in medium trust?

I do not need to load a URL and process that. I have a templating system where content is styled using HTML and CSS. I want to get the HTML that I have saved and create a PDF.

Can this be done in medium trust?

If not, how does one create a PDF in medium trust while styling text and formats?


KarthikeyanC [Syncfusion]
Replied On April 24, 2013 03:53 AM UTC

Hi Tony,
Thank you for using Syncfusion Products.

We have analyzes your requirement for 'Enhancing the conversion of HTML to PDF in medium trust scenario'.
This feature isn't available in our product, we have already created a feature request in our database.
We will let you know once the feature is implemented.

Thanks,
Karthikeyan.C

Tony Basallo
Replied On April 24, 2013 04:12 AM UTC

FYI - for those of you looking for a medium trust solution until this feature gets implemented:

Create a Word document, which can process the HTML, and convert to PDF from Word.

This will work as long as your HTML is simple enough to be understood by Word. I'm using it for letters - which includes text formatting, some tables and margin/padding and it works well.

It won't producr a perfect image (like the full trust version), but...

Hope that helps.


KarthikeyanC [Syncfusion]
Replied On April 25, 2013 03:46 AM UTC

Hi Tony,
Thank you for your workaround.

Thanks,
Karthikeyan.C

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;