Skip to content

DevExpress-Examples/how-to-load-a-pdf-document-from-a-stream-t263193

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDF Viewer for WPF - Load a PDF Document from a Stream

This example demonstrates how to use the DocumentViewerControl.DocumentSource property to load a document from a stream. The stream is obtained from the assembly resources:

Assembly.GetExecutingAssembly().GetManifestResourceStream(resourceName);

Note that the input stream remains open while the control uses the loaded document (PdfViewerControl.DetachStreamOnLoadComplete is false by default). This allows the PDF Viewer to render large PDF files faster.

Documentation

Load a PDF Document from a Stream

Files to Review

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

About

Learn how to load a PDF document from a stream to PDF Viewer for WPF

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •