title: How to draw PDF on canvas using skia sharp?
body: <p>I have referred official document of skia: <a href="https://docs.microsoft.com/en-us/dotnet/api/skiasharp.skcanvas?view=skiasharp-1.68.1#constructing-a-pdf-document" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/dotnet/api/skiasharp.skcanvas?view=skiasharp-1.68.1#constructing-a-pdf-document</a></p>
  
  <pre><code>// create the document
  var stream = SKFileWStream.OpenStream("document.pdf");
  var document = SKDocument.CreatePdf(stream);
  
  // get the canvas from the page
  var canvas = document.BeginPage(256, 256);
  
  // draw on the canvas ...
  
  // end the page and document
  document.EndPage();
  document.Close();
  </code></pre>
  
  <p><strong>As per the above code I'm getting canvas, but how can I draw that on my canvas view?</strong></p>
  
  <pre><code> &lt;skia:SKCanvasView x:Name="canvasViews"/&gt;
  </code></pre>
  
  <p><strong>Also do I need to use scroll view to display those multiple pages on canvas?</strong></p>
  
  <p>Any help on this appreciated. Thanks.</p>