SharpPlot Reference > SharpPlot Methods > ReadPdfStream Method

SharpPlot.ReadPdfStream Method

Recover a page of content from a compressed PDF. This is intended for debugging use, where there may have been a problem with Acrobat Reader failing to interpret the document. It is designed to read documents created by SharpPlot and is unlikely to work on other PDFs.


// Recover a compressed page from a PDF for inspection
 string page = SharpPlot.ReadPdfStream(@"c:\temp\xx.pdf",1,true);


If the PDF was compressed you must pass the decode flag here to reverse the compression.

Send comments on this topic
© Dyalog Ltd 2021