We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Get AvatarCharacter as png file


I am wondering if there is a way to get an AvatarCharacter as a png or other image file? I need to be able to extract the image file so I can use it in an area of our app that cannot use the AvatarView. Specifically we want to be able to use the AvatarCharacter as the menu icon in our FlyOutMenu view. This has to be set via the IconImageSource property which requires a string of the image resource. Is there a way to get the avatar character as an image (extract it from embedded resource)?

1 Reply

SR Shivani Ramakrishnan Syncfusion Team November 1, 2022 08:31 AM

Hi David,

Query: How Do I Get My Avatar Character As An Image File?

We have looked into your query. We can extract an avatar character as an image by using embedded resources. We have prepared and attached a sample for your reference, and here is the code snippet:

public partial class MainPage : ContentPage


public MainPage()







Please let us know if you need any other details.



Attachment: AvatarViewApp_a6a122b5.zip

Live Chat Icon For mobile
Up arrow icon