Skip to main content
All docs
V25.1
  • DXImage.FromStream(Stream) Method

    Creates an image from the specified stream that contains the image data.

    Namespace: DevExpress.Drawing

    Assembly: DevExpress.Drawing.v25.1.dll

    NuGet Package: DevExpress.Drawing

    Declaration

    public static DXImage FromStream(
        Stream stream
    )

    Parameters

    Name Type Description
    stream Stream

    A stream that contains data for the image.

    Returns

    Type Description
    DXImage

    The created image.

    The following code snippets (auto-collected from DevExpress Examples) contain references to the FromStream(Stream) method.

    Note

    The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

    See Also