ComponentOne Xamarin Edition
GetImage Method
C1.Xamarin.Forms.Core Assembly > C1.Xamarin.Forms.Core Namespace > ViewEx Class : GetImage Method
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.
Syntax
[AsyncStateMachine(C1.Xamarin.Forms.Core.ViewEx+d__28)] 
[Extension()] 
public static Task<byte[]> GetImage( 
   Xamarin.Forms.View view 
)

Parameters

view

Return Value

A byte array with certain image format.
See Also

Reference

ViewEx Class
ViewEx Members