Table of Contents

Method FromStream

Namespace
PdfSharp.Drawing
Assembly
PdfSharp.dll

FromStream(Stream)

Creates an image from the specified stream.

public static XImage FromStream(Stream stream)

Parameters

stream Stream

The stream containing a BMP, PNG, JPEG, or PDF file.

Returns

XImage