Accessing the NevronChart image file for html page conversion to pdf


Accessing the NevronChart image file for html page conversion to pdf
Author
Message
Paul Schellens
Paul Schellens
Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)
Group: Forum Members
Posts: 2, Visits: 1

Hi, I'm trialling some html to pdf conversion controls and realise that I need to adjust some of the html before conversion.

My page uses the Nevron Chart control.  I was having no problem with images/charts when creating the pdfs when I would use the 'CreatePDFFromURL' (or similar) methods of the various controls and passed in the url which contained the nevron chart.

However, now I wish to use the 'CreatePDFFromHTML' method(s), but can't figure how I'll get the chart in there since it contains something like <img src="NevronChart.axd?InstanceGuid=xxxx;SnapshotGuid="...> and none of the htmltoPDF controls know what to do with that.  So it'd be great to simply replace that line with a file path.

Possible? Or other options?


Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.1K

Hi Paul,

You can check whether switching the control output to temp file:

nChartControl1.ImageAcquisitionMode = UI.WebForm.Controls.ClientSideImageAcquisitionMode.TempFile;

will produce html that is understood by these controls (this will generate an actual image on the server).

Let us know if the problem persists...



Best Regards,
Nevron Support Team


Paul Schellens
Paul Schellens
Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)
Group: Forum Members
Posts: 2, Visits: 1
Sounds perfect.  Many thanks.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic
3 active, 3 guests, 0 members, 0 anonymous
No members currently viewing this topic!

Login

Explore
Messages
Mentions
Search