Table of Contents

Method FromStream

Namespace
PaintDotNet
Assembly
PaintDotNet.Data.dll

FromStream(Stream)

Deserializes a Document from a stream.

public static Document FromStream(Stream stream)

Parameters

stream Stream

The stream to deserialize from. This stream must be seekable.

Returns

Document

The Document that was stored in stream.

Remarks

This is the only supported way to deserialize a Document instance from disk.