search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Image/PDF Export for ASP.NET MVC

Asked by Alex (Smashed Crab Studio Ltd)
9 years ago.

Before we can purchase a license, we are still evaluating your product.

So far it's fantastic, but with a lack of image export for MVC there's unfortunately a gap in the features we need.

When will (if at all) this feature be implemented? If in the far future or never, can I please be pointed to a work around?

(also, thanks for responding to my last query, I couldn't respond as I was labelled as 'Spam')

Thanks,
Alex.

Answer posted by Dan Letecky [DayPilot]
9 years ago.

The next MVC version (8.2) will include client-side PNG export support. You can create the PDF on the client side using jsPDF (http://mrrio.github.io/jsPDF/). It will let you insert the exported PNG image.

A preview of the feature is available in the JavaScript sandbox:
http://javascript.daypilot.org/sandbox/scheduler/export.html

Another option (workaround) is to use PhantomJS - http://phantomjs.org/. It's a headless browser which you can use to get a PNG "screenshot" of a HTML page programmatically. It works surprisingly well. The drawback is that you need to run it as a separate process.

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.