Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

Memory Leak while opening the XPS document in DocumentViewer

$
0
0
 

FilePath is XPS file name

xpsDoc = new XpsDocument(FilePath, FileAccess.Read, CompressionOption.NotCompressed);


FixedDocumentSequence fixedDocumentSequence = xpsDoc.GetFixedDocumentSequence();                
//I am getting an memory leak in the above line of code

DocViewer.Document = fixedDocumentSequence as IDocumentPaginatorSource;

      

Viewing all articles
Browse latest Browse all 8156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>