I have referred official document of skia: https://learn.microsoft.com/en-us/dotnet/api/skiasharp.skcanvas?view=skiasharp-1.68.1#constructing-a-pdf-document
// 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();
As per the above code I'm getting canvas, but how can I draw that on my canvas view?
<skia:SKCanvasView x:Name="canvasViews"/>
Also do I need to use scroll view to display those multiple pages on canvas?
Any help on this appreciated. Thanks.