Writing PDF report to a FileStream

Oystein Bjorke 10 years ago 0
This discussion was imported from CodePlex

ambrein2 wrote at 2014-01-16 04:10:

Hi All,

I am new to OxyPlot and still getting to know OxyPlot more. I recently was able to create a Plot that contains LineSeries and now I am trying to create a PDF report of this plot. However I don't want to write this report to an actual file, in fact I want to write the PDF report directly to a FileStream. Is there an easier way to do this with OxyPlot library?

objo wrote at 2014-01-16 22:57:

I think this overload should be added to the PdfReportWriter class. MigraDoc supports writing to a Stream.
https://oxyplot.codeplex.com/workitem/10116

ambrein2 wrote at 2014-01-21 01:54:

Thanks for your quick response and also for creating a ticket for writing to a Stream. I had one more question, does OxyPlot support exporting report to TIFF file type? If not is this something easy to do?

objo wrote at 2014-02-02 20:50:

Export to stream is implemented.