WinUI | ComponentOne
WinUI | ComponentOne
C1.WinUI.Core Assembly
/
C1.WinUI.Core Namespace
/
ViewEx Class
/ GetImage Method
Collapse All
Expand All
Language Filter: All
Language Filter: Multiple
Language Filter: Visual Basic
Language Filter: C#
C#
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
C#
public
static
Task<byte[]>
GetImage(
FrameworkElement
view
)
Parameters
view
Return Value
A byte array with certain image format.
See Also
Reference
ViewEx Class
ViewEx Members