[]
        
(Showing Draft Content)

C1.Xamarin.Forms.Core.ViewEx.GetImage

GetImage Method

GetImage(View)

Get the byte array of the control image. This byte array comes from a UIImagePNGRepresentation in iOS, TrueColorAlpha of PNG format in WP, Bitmap in Android.

Declaration
public static Task<byte[]> GetImage(this View view)
Parameters
Type Name Description
View view
Returns
Type Description
Task<byte[]>

A byte array with certain image format.