Embed svg in PDF using pdfsharp - asp.net-mvc

Any body I want to export chart data made with d3.js in to PDF file using PDFSharp and Migradoc. I am not able to find any example. So can anybody give some example?

Related

Chart not exporting to XLS File - Highcharts

I have integrated Highcharts in my code to show data using charts.
HIghcharts displays chart on the website, it great. but when downloading data using their api it does not display chart in the xls file, it instead shows raw data in the excel, i want to show chart even in the xls file.
Pic1 shows how chart appears on my website.
pic2 shows how the data appears when i download.
I need something to show the actual chart (which is shown on the site) to be in the excel too.
1:
Highcharts does not provide a possibility to export a chart as an image to XLS file. You can export directly only the chart data. As #Core972 noticed, you can download a chart image and paste it in Excel.
Export module
...
Additionally there's the export data module that enables exporting the
chart data to CSV, XLS or HTML table formats.
Docs: https://www.highcharts.com/docs/export-module/export-module-overview

How to highlight text in pdf using PdfKit

I am creating app where i need to load the pdf file from document directory and need to highlight text manually by user.
Also we need to export the updated pdf file and upload it to the server.
Is there any way to manage the same using pdfkit ?
Please share the sample code if available.
We are using the library as a reference is listed below
https://github.com/uxmstudio/UXMPDFKit
This library is using the same concept as we need but exporting the pdf is the main task we need to achieve.
In simple word we can say that user can highlight some text from the displayed pdf text and upload it to the server.

Highchart offline export for pdf file not working

I am using the latest High-stock , exporting and offline-exporting java script file for my angular application. When I use the highstock api "exportChartLocal" in my code as "chart.exportChartLocal({type:"application/pdf"});", I can able to download for png,jpeg and svf format.But I am not able to get the pdf format displaying as "file damaged".Can anyone help me solve this issue?

building a document preview webpage

Hi i'm wanting to create a webpage in which i can pass a url to a document and it previews it. the idea behind this is so i can create a responsive web view for android so i can preview documents from with an app i have basic knowledge of php and html but if some one could point me in the right direction? i have had a look around but can't find anything that basic i don't need to edit the documents just view them. Does anyone know how to do this?
ps: the docs i want to preview are .xl .xls .doc .docx .pdf .ppt etc
Here is what looks to be a decent open source option.
http://flexpaper.devaldi.com/
One option would be to convert the documents to .pdf first using OpenOffice and then preview them using pdf.js

Draw something and copy it on a existing pdf document on iPad

I want to make a simple drawing with finger and insert it in a existing pdf file. I don't know at all how begin this feature.
So,first step: make a drawing, second: edit a pdf file and insert the drawing,final: Save the document.
How can I start?
What libraries do you recommend me?
Thanks
For drawing you could use this library:
https://github.com/gtmtg/MGDrawingSlate
For creating a PDF i can recommend following this tutorial:
http://klanguedoc.hubpages.com/hub/iOS-Create-PDF-using-UIKit
Or you could just create some HTML and genarate a PDF from that using: https://github.com/ocrickard/OCPDFGen
For writing a file you can have a look at:
How to save/load text files in Objective-C for the iPhone, using UITextView?

Resources