0

Is it possible to render a VisualElement as an image?

I'd like to save screenshots of some of my UI's elements in my Xamarin.Forms application.

2 Answers2

0

You can't. Xamarin does not have that kind of feature. You should write a Renderer for your UIComponent.

Fortunately there is an Objective-C iOS implementation, and an Android one as well. You can inspire from them.

Community
  • 1
  • 1
eakgul
  • 3,658
  • 21
  • 33
0

Here is a library to take partial screenshot.

Marcio J
  • 673
  • 7
  • 17