ComponentOne Imaging for UWP
C1.UWP.Imaging Assembly / C1.Xaml.Imaging Namespace / PngCodec Class / Encode Method / Encode(C1Bitmap) Method
C1Bitmap to encode.

In This Topic
    Encode(C1Bitmap) Method
    In This Topic
    Gets a System.IO.Stream that contains a PNG representation of a C1Bitmap
    Syntax
    'Declaration
     
    Public Overloads Shared Function Encode( _
       ByVal bmp As C1Bitmap _
    ) As System.IO.Stream
    public static System.IO.Stream Encode( 
       C1Bitmap bmp
    )

    Parameters

    bmp
    C1Bitmap to encode.

    Return Value

    A System.IO.Stream that contains a PNG representation of the given C1Bitmap.
    See Also