WinUI | ComponentOne
C1.WinUI.Core Assembly / C1.WinUI.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
    public static Task<byte[]> GetImage( 
       FrameworkElement view
    )

    Parameters

    view

    Return Value

    A byte array with certain image format.
    See Also