ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.Core.Rendering Assembly / GrapeCity.ActiveReports.Rendering.Image Namespace / OleImageHelper Class / TryParseImageFromIPictureStream Method

In This Topic
    TryParseImageFromIPictureStream Method
    In This Topic
    Convert image from OLE IPicture: https://docs.microsoft.com/en-us/windows/win32/api/olectl/nf-olectl-oleloadpicture.
    Syntax
    'Declaration
     
    Public Shared Function TryParseImageFromIPictureStream( _
       ByVal data() As Byte _
    ) As Byte()
    public static byte[] TryParseImageFromIPictureStream( 
       byte[] data
    )

    Parameters

    data

    Return Value

    Picture byte array or null.
    See Also