using PdfiumViewer; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace pdfDocuemntos { public partial class Form1 : Form { public MemoryStream ms { get; set; } public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { PdfDocument doc = PdfDocument.Load(ms); this.pdfViewer1.Document = doc; } } }