I have an application on Xamarin Android, and I need to open a PDF, but I have the Document in a byte array, because I use it from an Api web. And in the Syncfusion documentation, I did not find much information, just the method "Assets.Open (" GIS Succinctly.pdf ");", which opens the document from a "string", is there any way to pass the arrangement to PdfViewer?
SfPdfViewer pdfViewer;
string Mail, Pass, LlaveEmp = string.Empty;
protected override void OnCreate(Bundle savedInstanceState)
{
base.OnCreate(savedInstanceState);
SetContentView(Resource.Layout.RecibosPago);
pdfViewer = FindViewById<SfPdfViewer>(Resource.Id.pdfviewercontrol);
Stream PdfStream = Assets.Open("GIS Succinctly.pdf");
pdfViewer.LoadDocument(PdfStream);
}