To plot PDF files in C#, we can use different libraries like iTextSharp, PDFSharp, etc. Here is an example of how to plot a chart from data in a PDF file using PDFSharp library:
main.cs1472 chars54 linesThis code reads a PDF file called "input.pdf", extracts the data from its first page and plots a chart with it. The resulting PDF file is saved as "output.pdf". You need to implement the methods AddDataFromPdfPage and Draw in the Chart class, which depend on the format of your data and the type of chart you want to plot.
gistlibby LogSnag