Getting a screenshot of a SkCanvasView

Hi everybody,

I have a piece of code in my Xamarin Forms app that use SkiaSharp library to display SVG (using the SVG extension of this library) and that draws some more vectors above the SVG in a Canvas of a SkCanvasView control.

On a specific action, I want to save a screenshot of this canvas as a bitmap (PNG, JPEG, or other image format) ?

Can someone tell me the best way to do that ? With some piece of code sample..



Best Answer


Sign In or Register to comment.