C1.iOS.Core Assembly / C1.iOS.Core Namespace / ViewEx Class / GetImage Method


In This Topic
GetImage Method
In This Topic
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
'Declaration
 
<AsyncStateMachineAttribute(C1.iOS.Core.ViewEx/d__51)> 
<ExtensionAttribute()> 
Public Shared Function GetImage( _ 
   ByVal view As UIKit.UIView _ 
) As Task(Of Byte())
 
'Usage
 
Dim view As UIKit.UIView
Dim value As Task(Of Byte())
 
value = ViewEx.GetImage(view)

Parameters

view

Return Value

A byte array with certain image format.
See Also