Hi Nate,
Thank you
for using Syncfusion products.
Please find
the sample available in the link below which demonstrates loading PDF document
(Barcode.pdf) which is included in the project with the build action set to
Embedded Resource. Also find the code snippet to do the same below.
Code
snippet:
Assembly assembly = typeof(MainPage).GetTypeInfo().Assembly;
Stream fileStream = assembly.GetManifestResourceStream("PDFViewerWintRT.Assets.Pdf.Barcode.pdf");
byte[] buffer = new byte[fileStream.Length];
fileStream.Read(buffer,
0, buffer.Length);
PdfLoadedDocument ldoc = new PdfLoadedDocument(buffer, "syncfusion");
pdfViewer.LoadDocument(ldoc);
Sample Link:
PDFViewerWintRT_2013.zip
Please let
us know if you need any further assistance.
Thanks,
Suresh